Bug #13348 Updated: require() on a non-existent file makes PHP give up w/o an error
| From: | derick@php.net | Date: | Tue, 18 Sep 2001 06:13:06 +0000 |
| Subject: | Bug #13348 Updated: require() on a non-existent file makes PHP give up w/o an error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66153@lists.php.net to get a copy of this message | ||
ID: 13348
Updated by: derick
Reported By: alester@flr.follett.com
Old Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Solaris 7
PHP Version: 4.0.6
New Comment:
To what is your errorlevel set in php.ini?
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-09-17 10:29:38] alester@flr.follett.com
If you require() or require_once() on a file that's not found anywhere in the library search
path, PHP gives no output and no error message.
This is so common in our shop that whenever we see no output at all from a script, we just assume
we've goofed up a require(). When I stumbled across the behavior in Bug #13347, I figured I
messed up an require().
It may also be a problem with include() and include_once(), but we don't use those anywhere
anyway.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13348&edit=1