note 95855 rejected from function.require by thiago
| From: | thiago@php.net | Date: | Tue, 26 Jan 2010 12:43:43 +0000 |
| Subject: | note 95855 rejected from function.require by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165308@lists.php.net to get a copy of this message | ||
Note Submitter: miqrogroove at gmail dot com
----
It should be prominently noted that require() does NOT throw E_ERROR if the required file fails to
compile. So it is not accurate to say that, "upon failure it will also produce a fatal E_ERROR
level error." That only applies to files that don't exist.
Look also for the E_PARSE level error if you need to report all failures of the require() statement.