PHP 4.0 Bug #1893 Updated: requiering() a non existant file will result in "Document contains no data"
| From: | Bug Database | Date: | Sat, 31 Jul 1999 19:15:22 +0000 |
| Subject: | PHP 4.0 Bug #1893 Updated: requiering() a non existant file will result in "Document contains no data" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9400@lists.php.net to get a copy of this message | ||
ID: 1893
Updated by: zeev
Reported By: bram@Guts.nl
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
require() is not a 'compile-time' statement, i.e., it happens
before PHP begins to execute the script.
That means that if you have your error reporting set to a low
value, and miss the require() failure warning, there'll be no
output at all (since the failure occurs before the execution
of the script).
You must have your error reporting set to show E_COMPILE_ERROR if
you want to see require() failures.
Full Bug description available at: http://bugs.php.net/version4/?id=1893