'autoload' functions in php?
<p>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.</p>

<p>Maybe is there a way to override <code>Fatal error:  Call to undefined function...</code> 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.</p>
