note 106148 deleted from class.errorexception by googleguy
| From: | googleguy@php.net | Date: | Wed, 12 Sep 2012 03:34:49 +0000 |
| Subject: | note 106148 deleted from class.errorexception by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-190633@lists.php.net to get a copy of this message | ||
Note Submitter: Lucas Biernot
----
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.