note 105229 deleted from function.error-reporting by cmb
| From: | cmb@php.net | Date: | Sun, 08 Dec 2019 11:07:38 +0000 |
| Subject: | note 105229 deleted from function.error-reporting by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213435@lists.php.net to get a copy of this message | ||
Note Submitter: ywarnier at beeznest dot org
----
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.