handle E_STRICT with own error handler
| From: | Bert Slagter | Date: | Thu, 27 May 2004 16:15:09 +0000 |
| Subject: | handle E_STRICT with own error handler | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187059@lists.php.net to get a copy of this message | ||
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.
Your error handler won't give a sound!
Anyone an idea?
Bert