Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error reporting mulfunction

Status
Not open for further replies.

rejoice

MIS
Jun 5, 2002
42
0
0
MY
I put code:
Code:
error_reporting(E_ALL^E_NOTICE);
$str .= "abc";
echo $str;
-- does not trigger warning message, but:
Code:
error_reporting(E_ALL^E_NOTICE);
set_error_handler("myOwnHandler");
-- trigger warning message, how come?
My question is that I turn off the warning report but how come it still pass the $errno=E_WARNING to my function? It should not happen, right...????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top