note 128192 added to class.parseerror
| From: | SixPigPigWikiSix at main dot php dot net | Date: | Mon, 06 Feb 2023 11:03:00 +0000 |
| Subject: | note 128192 added to class.parseerror | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220149@lists.php.net to get a copy of this message | ||
The priority of Parse Error should be higher than that of Fatal Error,Parse Error, which has the
highest priority among all PHP exceptions. See the following example:
<?php
error_reporting(E_ALL);
test()
//System output a parse error
?>
<?php
error_reporting(E_WARNING);
test()
//System output a parse error
?>
<?php
error_reporting(E_ERROR);
test()
//System output a parse error
?>
<?php
error_reporting(E_PARSE);
test()
//System output a parse error
?>
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.158.213 (proxied: 101.86.110.234)
----
Manual Page -- https://php.net/manual/en/class.parseerror.php
Edit -- https://main.php.net/note/edit/128192
Del: integrated -- https://main.php.net/note/delete/128192/integrated
Del: useless -- https://main.php.net/note/delete/128192/useless
Del: bad code -- https://main.php.net/note/delete/128192/bad+code
Del: spam -- https://main.php.net/note/delete/128192/spam
Del: non-english -- https://main.php.net/note/delete/128192/non-english
Del: in docs -- https://main.php.net/note/delete/128192/in+docs
Del: other reasons-- https://main.php.net/note/delete/128192
Reject -- https://main.php.net/note/reject/128192
Search -- https://main.php.net/manage/user-notes.php