note 82362 deleted from language.exceptions by bjori
| From: | bjori@php.net | Date: | Fri, 28 Nov 2008 17:34:27 +0000 |
| Subject: | note 82362 deleted from language.exceptions by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147092@lists.php.net to get a copy of this message | ||
Note Submitter: Tim Gallagher
----
Eli had a great idea with his code, however it started spewing tons of exceptions because of
notices.
Here is a slightly different one.
<?php
set_error_handler(create_function('$x, $y', 'throw new Exception($y, $x);'),
E_ALL & ~E_NOTICE);
?>