note 105229 added to function.error-reporting

From: Date: Thu, 04 Aug 2011 03:56:03 +0000
Subject: note 105229 added to function.error-reporting
Groups: php.notes 
Request: Send a blank email to php-notes+get-182204@lists.php.net to get a copy of this message
Setting error_reporting in your VirtualHost has to be done through a numerical value which is the result of the options you choose summed up from the values of these options, as defined on the constants page for the error management functions: http://www.php.net/manual/en/errorfunc.constants.php As a result, E_ALL & ~E_NOTICE would be set this way (this automatically excludes E_DEPRECATED AND E_USER_DEPRECATED): php_value error_reporting 6135 whereas E_ALL (excluding the deprecated levels) would be set this way: php_value error_reporting 6143 The difference between those two values is 8, which is the value of the constant for E_NOTICE. ---- Server IP: 69.147.83.197 Probable Submitter: 190.187.21.53 ---- Manual Page -- http://www.php.net/manual/en/function.error-reporting.php Edit -- https://master.php.net/note/edit/105229 Del: integrated -- https://master.php.net/note/delete/105229/integrated Del: useless -- https://master.php.net/note/delete/105229/useless Del: bad code -- https://master.php.net/note/delete/105229/bad+code Del: spam -- https://master.php.net/note/delete/105229/spam Del: non-english -- https://master.php.net/note/delete/105229/non-english Del: in docs -- https://master.php.net/note/delete/105229/in+docs Del: other reasons-- https://master.php.net/note/delete/105229 Reject -- https://master.php.net/note/reject/105229 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182204) next »