* Thus wrote Bert Slagter ([EMAIL PROTECTED]): > Hi, > > I tried to use my own error handler to handle all non-fatal errors. But > to my surprise it seems to be impossible to handle E_STRICT level > notices. I don't know whether this is by design, not yet implemented or > a know bug that I overlooked - but it seems rather strange :). > > To reproduce: > - create your own error handler > - set error_reporting to 0 > - generate a E_STRICT notice, for example by using var $x as a class member.
var $x, E_STRICT error occures at compile time so it wont be able to be caught. On the otherhand, dl() throws a E_STRICT at runtime but the error handler still doesn't get called. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php