Posted by Umberto Salsi on 05/02/07 11:53
Tyno Gendo <you@localhost> wrote:
> I'm using a custom error handler and the @ doesn't seem to be supressing
> errors, don't know why.
/*. void .*/ function my_error_handler(
/*. int .*/ $errno,
/*. string .*/ $message,
/*. string .*/ $filename,
/*. int .*/ $lineno)
{
if( ($errno & error_reporting()) == 0 )
# Error disabled or silenced by @.
return;
/* bla bla */
}
Regards,
___
/_|_\ Umberto Salsi
\/_\/ www.icosaedro.it
[Back to original message]
|