note 100932 deleted from class.errorexception by salathe
| From: | salathe@php.net | Date: | Tue, 16 Nov 2010 10:52:15 +0000 |
| Subject: | note 100932 deleted from class.errorexception by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174063@lists.php.net to get a copy of this message | ||
Note Submitter: softwarevamp at gmail dot com
----
Example #1 should be:
<?php
function exception_error_handler($errno, $errstr, $errfile, $errline ) {
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
set_error_handler("exception_error_handler");
/* Trigger exception */
strpos();
?>