note 111000 added to errorfunc.constants
| From: | php dot net at weeb dot biz | Date: | Fri, 04 Jan 2013 11:35:05 +0000 |
| Subject: | note 111000 added to errorfunc.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192759@lists.php.net to get a copy of this message | ||
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';
//...
?>
----
Server IP: 69.147.83.199
Probable Submitter: 94.31.26.5
----
Manual Page -- http://php.net/manual/en/errorfunc.constants.php
Edit -- https://master.php.net/note/edit/111000
Del: integrated -- https://master.php.net/note/delete/111000/integrated
Del: useless -- https://master.php.net/note/delete/111000/useless
Del: bad code -- https://master.php.net/note/delete/111000/bad+code
Del: spam -- https://master.php.net/note/delete/111000/spam
Del: non-english -- https://master.php.net/note/delete/111000/non-english
Del: in docs -- https://master.php.net/note/delete/111000/in+docs
Del: other reasons-- https://master.php.net/note/delete/111000
Reject -- https://master.php.net/note/reject/111000
Search -- https://master.php.net/manage/user-notes.php