related to "Automatic include of files containing functions"

Can we capture errors for missing functions and have the script correct the
problem and attempt again?

For example//


if this function doesn't exist, PHP generates an error. Capture the error and
fix it...

<pseudo code>
error_handler case(missing_function){
        return/retry the function or line of code
        > elseif file doesn't exist
        terminate with helpful info...  can't find function in functions dir...
</pseudo code>

in short, soe code to drop in the header of each document to remove the
requirement to have any functions hard coded into the pages, and simply have a
repository of functions in a directory that would be included only when called.


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to