note 95855 added to function.require
| From: | miqrogroove at gmail dot com | Date: | Tue, 26 Jan 2010 07:15:51 +0000 |
| Subject: | note 95855 added to function.require | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165306@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 76.247.129.156
----
Manual Page -- http://www.php.net/manual/en/function.require.php
Edit -- https://master.php.net/note/edit/95855
Del: integrated -- https://master.php.net/note/delete/95855/integrated
Del: useless -- https://master.php.net/note/delete/95855/useless
Del: bad code -- https://master.php.net/note/delete/95855/bad+code
Del: spam -- https://master.php.net/note/delete/95855/spam
Del: non-english -- https://master.php.net/note/delete/95855/non-english
Del: in docs -- https://master.php.net/note/delete/95855/in+docs
Del: other reasons-- https://master.php.net/note/delete/95855
Reject -- https://master.php.net/note/reject/95855
Search -- https://master.php.net/manage/user-notes.php