|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-05 11:00 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jun 19 11:00:01 2026 UTC |
The example script below fails to catch parse errors (line 12 is a parse error): <?php error_reporting(E_ALL); $old_error_handler = set_error_handler("myErrorHandler"); function myErrorHandler($errno, $errstr, $errfile, $errline) { echo "Hi, I am an error of type: '$errno' wit message: '$errmsg'<br>\n"; } print; ?>