note 130467 added to function.error-reporting
| From: | ohcc@163.com | Date: | Sun, 31 Aug 2025 15:00:14 +0000 |
| Subject: | note 130467 added to function.error-reporting | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222327@lists.php.net to get a copy of this message | ||
As of PHP 8.0.0+, error_reporting() in an error handler function returns $error_reporting &
(E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR | E_PARSE), where
$error_reporting is the value of the global error_reporting ini directive set, no matter it is set
through ini or error_reporting().
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 101.206.224.180)
----
Manual Page -- https://php.net/manual/en/function.error-reporting.php
Edit -- https://main.php.net/note/edit/130467
Del: integrated -- https://main.php.net/note/delete/130467/integrated
Del: useless -- https://main.php.net/note/delete/130467/useless
Del: bad code -- https://main.php.net/note/delete/130467/bad+code
Del: spam -- https://main.php.net/note/delete/130467/spam
Del: non-english -- https://main.php.net/note/delete/130467/non-english
Del: in docs -- https://main.php.net/note/delete/130467/in+docs
Del: other reasons-- https://main.php.net/note/delete/130467
Reject -- https://main.php.net/note/reject/130467
Search -- https://main.php.net/manage/user-notes.php