note 130368 added to language.operators.errorcontrol

From: Date: Sun, 15 Jun 2025 16:08:46 +0000
Subject: note 130368 added to language.operators.errorcontrol
Groups: php.notes 
Request: Send a blank email to php-notes+get-222222@lists.php.net to get a copy of this message
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

« previous php.notes (#222222) next »