note 71713 added to language.operators.errorcontrol
| From: | php-general at lists dot php dot net | Date: | Wed, 13 Dec 2006 01:52:26 +0000 |
| Subject: | note 71713 added to language.operators.errorcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120563@lists.php.net to get a copy of this message | ||
error_reporting()==0 for detecting the @ error suppression assumes that you did not set the error
level to 0 in the first place.
However, typically if you want to set your own error handler, you would set the error_reporting to
0. Therefore, an alternative to detect the @ error suppression is required.
----
Server IP: 203.16.234.91
Probable Submitter: 220.101.42.18
----
Manual Page -- http://www.php.net/manual/en/language.operators.errorcontrol.php
Edit -- https://master.php.net/note/edit/71713
Del: integrated -- https://master.php.net/note/delete/71713/integrated
Del: useless -- https://master.php.net/note/delete/71713/useless
Del: bad code -- https://master.php.net/note/delete/71713/bad+code
Del: spam -- https://master.php.net/note/delete/71713/spam
Del: non-english -- https://master.php.net/note/delete/71713/non-english
Del: in docs -- https://master.php.net/note/delete/71713/in+docs
Del: other reasons-- https://master.php.net/note/delete/71713
Reject -- https://master.php.net/note/reject/71713
Search -- https://master.php.net/manage/user-notes.php