note 106148 added to class.errorexception
| From: | LucasBiernot at osu1 dot php dot net | Date: | Fri, 14 Oct 2011 07:37:55 +0000 |
| Subject: | note 106148 added to class.errorexception | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183871@lists.php.net to get a copy of this message | ||
It's a bad practice to ignore notices. Well written program doesn't generate notices, so
imho notice is simply an error and it should raise an exception and eventually terminate the script.
You can catch exception wherever you want to and perform proper action.
----
Server IP: 69.147.83.197
Probable Submitter: 91.198.94.254
----
Manual Page -- http://www.php.net/manual/en/class.errorexception.php
Edit -- https://master.php.net/note/edit/106148
Del: integrated -- https://master.php.net/note/delete/106148/integrated
Del: useless -- https://master.php.net/note/delete/106148/useless
Del: bad code -- https://master.php.net/note/delete/106148/bad+code
Del: spam -- https://master.php.net/note/delete/106148/spam
Del: non-english -- https://master.php.net/note/delete/106148/non-english
Del: in docs -- https://master.php.net/note/delete/106148/in+docs
Del: other reasons-- https://master.php.net/note/delete/106148
Reject -- https://master.php.net/note/reject/106148
Search -- https://master.php.net/manage/user-notes.php