note 76495 deleted from function.set-error-handler by cmb
| From: | cmb@php.net | Date: | Sun, 13 Oct 2019 07:39:39 +0000 |
| Subject: | note 76495 deleted from function.set-error-handler by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212595@lists.php.net to get a copy of this message | ||
Note Submitter: Thomas
----
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).