John Coggeshall wrote:
There is absolutely no reason why you cannot simply include your
functions in your scripts
Erm, to avoid manual work? There is no reason whatsoever
to include files manually.
Right now you must pre-load every single
class you intend to use in the application. This
56 AM
>To: [EMAIL PROTECTED]
>Subject: [PHP-DEV] downgrade undefined function from fatal error
>
>
>reviewed and did a couple of searches on this prior to signing
>up to this particular list...
>
>Is this a reasonable consideration for changes to PHP's
>handling of und
On Fri, 13 Dec 2002, Dave [Hawk-Systems] wrote:
...
> function func($f_name){
> if(!function_exists($f_name)){
> # function doesn't exists, needs to be included
> require('/path/to/functions/'.$f_name.'.php');
> }else{
> # function already ex
reviewed and did a couple of searches on this prior to signing up to this
particular list...
Is this a reasonable consideration for changes to PHP's handling of undefined
functions?
Currently, calling a previously undefined function generates an E_ERROR, and
halts the script as a cirtical failure