[PHP-NOTES] note 130368 added to language.operators.errorcontrol

[email protected] ("[email protected]") Sun, 15 Jun 2025 16:08:46 +0000 (UTC)
Newsgroups php.notes
Message-ID <[email protected]>
In fact, when a user defined error_handler is called for an expression silenced by @-operator, the return value of
error_reporting() != E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR | E_PARSE (or the number 4437),
but the value masked by your current error_reporting level, that is 
error_reporting() &= E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR | E_PARSE,
which for E_ALL level gives us exactly 4437.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 46.39.45.229)
----
Manual Page -- https://php.net/manual/en/language.operators.errorcontrol.php
Edit        -- https://main.php.net/note/edit/130368
Del: integrated  -- https://main.php.net/note/delete/130368/integrated
Del: useless     -- https://main.php.net/note/delete/130368/useless
Del: bad code    -- https://main.php.net/note/delete/130368/bad+code
Del: spam        -- https://main.php.net/note/delete/130368/spam
Del: non-english -- https://main.php.net/note/delete/130368/non-english
Del: in docs     -- https://main.php.net/note/delete/130368/in+docs
Del: other reasons-- https://main.php.net/note/delete/130368
Reject      -- https://main.php.net/note/reject/130368
Search      -- https://main.php.net/manage/user-notes.php