note 128558 added to function.error-get-last

From: Date: Sat, 20 May 2023 07:24:27 +0000
Subject: note 128558 added to function.error-get-last
Groups: php.notes 
Request: Send a blank email to php-notes+get-220512@lists.php.net to get a copy of this message
Be aware that error_get_last() returns only uncaught errors. Caught ones will never get to the error_get_last(), i.e.: - $error_levels registered with set_error_handler() when $callback does not return false, - all exceptions, including errors not supported by set_error_handler() (like :E_ERROR/fatal error, E_PARSE, etc.) that are exceptions in fact, when set_exception_handler($callback) is registered, - exceptions caught by try/catch block. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 188.122.3.184) ---- Manual Page -- https://php.net/manual/en/function.error-get-last.php Edit -- https://main.php.net/note/edit/128558 Del: integrated -- https://main.php.net/note/delete/128558/integrated Del: useless -- https://main.php.net/note/delete/128558/useless Del: bad code -- https://main.php.net/note/delete/128558/bad+code Del: spam -- https://main.php.net/note/delete/128558/spam Del: non-english -- https://main.php.net/note/delete/128558/non-english Del: in docs -- https://main.php.net/note/delete/128558/in+docs Del: other reasons-- https://main.php.net/note/delete/128558 Reject -- https://main.php.net/note/reject/128558 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220512) next »