Re: [PATCH] - Check configured error level before reporting E_NOTICE messages

From: Date: Sat, 31 Oct 2009 10:08:48 +0000
Subject: Re: [PATCH] - Check configured error level before reporting E_NOTICE messages
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-45920@lists.php.net to get a copy of this message
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

« previous php.internals (#45920) next »