Date: 11/09/07 (PHP Community) Keywords: php The problem is: I want to call standard PHP error handler and die script execution after it. function errorHandler($errno, $errmsg, $filename, $linenum) { exit; } set_error_handler(errorHandler); All works, but standard PHP error handler are not calling. OK, I delete “exit;” and write “return false;” instead of it — standard error handler are calling, but script continue execution. Of course, I can write error to syslog by myself and it is not difficult but I would to find other way.
|