On 31.10.2009, at 12:48, Arvind Srinivasan wrote:

This is a bad idea, because the error handler does other things as well.

If the error reporting level indicates that the user is not interested
in E_FOO, why would there be an expectation that zend_error be invoked
for E_FOO messages?

error_reporting setting is related to automatic reactions on errors only. but php provides additional means to get last-error manually which should work without relation to this setting

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to