note 111000 deleted from errorfunc.constants by aharvey
| From: | aharvey@php.net | Date: | Tue, 08 Jan 2013 02:51:24 +0000 |
| Subject: | note 111000 deleted from errorfunc.constants by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192820@lists.php.net to get a copy of this message | ||
Note Submitter: php dot net at weeb dot biz
----
Note, in each of the previous script there seems to be a variation on this:
<?php
//...
case E_CORE_ERROR: // 64 //
return 'E_COMPILE_ERROR';
case E_CORE_WARNING: // 128 //
return 'E_COMPILE_WARNING';
//...
?>
As E_CORE_ERROR and E_CORE_WARNING already appears previously these lines never get activated, and
E_COMPILE_ERROR and E_COMPILE_WARNING will never be reported. The lines should be:
<?php
//...
case E_COMPILE_WARNING: // 64 //
return 'E_COMPILE_ERROR';
case E_COMPILE_WARNING: // 128 //
return 'E_COMPILE_WARNING';
//...
?>