require() of non-existent file
| From: | Paul DuBois | Date: | Fri, 10 Mar 2000 18:00:21 +0000 |
| Subject: | require() of non-existent file | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11881@lists.php.net to get a copy of this message | ||
If I include() a non-existent file (e.g., if I have the filename
argument mistypes, PHP displays an error message.
If I use require() instead, no error message is displayed. It
appears that PHP simply exits with no message (I get a "document
contains no data" dialog from Netscape). Is this supposed
to happen?
--
Paul DuBois, paul@snake.net