note 79998 deleted from function.ob-get-level by danbrown
| From: | danbrown@php.net | Date: | Thu, 04 Feb 2010 21:05:49 +0000 |
| Subject: | note 79998 deleted from function.ob-get-level by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165677@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
Re: condor_error
I think if you want to supress error messages and the whole page you could just go
<?php
ob_start();
function error_handler( ..... ){
ob_get_clean();
// possibly echo the message here
}
set_error_handler('error_handler');
?>
and optionally output the error. if it's fatal the last output will be sent.