note 94004 added to language.operators.errorcontrol
| From: | M dot T dot at osu1 dot php dot net | Date: | Sun, 11 Oct 2009 16:20:45 +0000 |
| Subject: | note 94004 added to language.operators.errorcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161639@lists.php.net to get a copy of this message | ||
Be aware of using error control operator in statements before include() like this:
<?PHP
(@include("file.php"))
OR die("Could not find file.php!");
?>
This cause, that error reporting level is set to zero also for the included file. So if there are
some errors in the included file, they will be not displayed.
----
Server IP: 147.32.160.17
Probable Submitter: 213.155.231.66
----
Manual Page -- http://www.php.net/manual/en/language.operators.errorcontrol.php
Edit -- https://master.php.net/note/edit/94004
Del: integrated -- https://master.php.net/note/delete/94004/integrated
Del: useless -- https://master.php.net/note/delete/94004/useless
Del: bad code -- https://master.php.net/note/delete/94004/bad+code
Del: spam -- https://master.php.net/note/delete/94004/spam
Del: non-english -- https://master.php.net/note/delete/94004/non-english
Del: in docs -- https://master.php.net/note/delete/94004/in+docs
Del: other reasons-- https://master.php.net/note/delete/94004
Reject -- https://master.php.net/note/reject/94004
Search -- https://master.php.net/manage/user-notes.php