note 76495 added to function.set-error-handler

From: Date: Wed, 18 Jul 2007 08:57:43 +0000
Subject: note 76495 added to function.set-error-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-128679@lists.php.net to get a copy of this message
Be careful with error-handlers if you are using require() with a function as argument, like <?php require(foo($foo)); ?> If the result of the function isn't a valid file to be included, you wont get any errormessage, but your script will crash without any output (see the bug-database for further details: http://bugs.php.net/bug.php?id=41862). ---- Server IP: 69.147.83.197 Probable Submitter: 84.176.42.239 ---- Manual Page -- http://www.php.net/manual/en/function.set-error-handler.php Edit -- https://master.php.net/note/edit/76495 Del: integrated -- https://master.php.net/note/delete/76495/integrated Del: useless -- https://master.php.net/note/delete/76495/useless Del: bad code -- https://master.php.net/note/delete/76495/bad+code Del: spam -- https://master.php.net/note/delete/76495/spam Del: non-english -- https://master.php.net/note/delete/76495/non-english Del: in docs -- https://master.php.net/note/delete/76495/in+docs Del: other reasons-- https://master.php.net/note/delete/76495 Reject -- https://master.php.net/note/reject/76495 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128679) next »