Bug #13348: require() on a non-existent file makes PHP give up w/o an error

From: Date: Mon, 17 Sep 2001 14:29:38 +0000
Subject: Bug #13348: require() on a non-existent file makes PHP give up w/o an error
Groups: php.dev 
Request: Send a blank email to php-dev+get-66119@lists.php.net to get a copy of this message
From: alester@flr.follett.com Operating system: Solaris 7 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: require() on a non-existent file makes PHP give up w/o an error 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 bug report at: http://bugs.php.net/?id=13348&edit=1

« previous php.dev (#66119) next »