note 125695 added to ini.core

From: Date: Tue, 19 Jan 2021 00:08:06 +0000
Subject: note 125695 added to ini.core
Groups: php.notes 
Request: Send a blank email to php-notes+get-216191@lists.php.net to get a copy of this message
Be careful while using auto_prepend_file. When the custom exception handler, set by set_exception_handler(), handles an uncaught exception, it interrupts the execution of every script. If the script with the unhandled exception has been automatically prepended or included by an automatically prepended script, however, the main script will continue running anyway. This could cause several issues: when we think that throwing an exception would automatically interrupt the current application, a whole chunk of code is going to run anyway. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.166 (proxied: 82.60.22.178) ---- Manual Page -- http://php.net/manual/en/ini.core.php Edit -- https://master.php.net/note/edit/125695 Del: integrated -- https://master.php.net/note/delete/125695/integrated Del: useless -- https://master.php.net/note/delete/125695/useless Del: bad code -- https://master.php.net/note/delete/125695/bad+code Del: spam -- https://master.php.net/note/delete/125695/spam Del: non-english -- https://master.php.net/note/delete/125695/non-english Del: in docs -- https://master.php.net/note/delete/125695/in+docs Del: other reasons-- https://master.php.net/note/delete/125695 Reject -- https://master.php.net/note/reject/125695 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#216191) next »