note 28181 added to function.error-reporting
| From: | jjuffermans at chello dot com | Date: | Sun, 05 Jan 2003 00:47:15 +0000 |
| Subject: | note 28181 added to function.error-reporting | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41675@lists.php.net to get a copy of this message | ||
Note that when you use the @ to suppress the error of an include file that couldn'd be found,
like so:
@include("nosuchfile.php");
It also suppresses all the parse errors generated in "nosuchfile.php" if it does exist.
It took us a long time before we discovered why we weren't getting any parse errors... This is
it.
Personally, I don't like this... Maybe it can be changed in a future php version? :)
Coditor
--
http://www.php.net/manual/en/function.error-reporting.php
http://master.php.net/manage/user-notes.php?action=edit+28181
http://master.php.net/manage/user-notes.php?action=delete+28181
http://master.php.net/manage/user-notes.php?action=reject+28181