Bert Slagter wrote:
Now I add a custom errorhandler:
----------- <?php
function myErrorHandler($errno, $errstr, $errfile, $errline)
{ print "<p>We've got a $errno on line $errline in $errfile!</p>";
}
set_error_handler('myErrorHandler');
error_reporting(0);
Hm, i tried manually setting the second parameter of set_error_handler to E_ALL | E_STRICT and guess what.. that does the trick :).
I don't know why I didn't think of this first..
So: --------- set_error_handler('myErrorHandler', E_ALL | E_STRICT); ---------
Is this by design?
Bert
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php