I have this problem that I have many huge functions, and I'm using only few in a given script. Every function sits in its own file. It would be nice to be able to 'autoload' or rather require_once a file when given function doesn't exists.
Maybe is there a way to override Fatal error: Call to undefined function...
at the beginning of a script, so everytime that error fires up the script would first try to require_once a file name with name of a non existent function, and then try to call the function again.