From dfa3553b43d54055739828f6b077258d5cf713e3 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Tue, 13 Aug 2002 09:56:31 +0000 Subject: [PATCH] sample code had a parse error git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@91770 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/errorfunc/functions/set-error-handler.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/errorfunc/functions/set-error-handler.xml b/reference/errorfunc/functions/set-error-handler.xml index e5c33156c8..4711a3d83f 100644 --- a/reference/errorfunc/functions/set-error-handler.xml +++ b/reference/errorfunc/functions/set-error-handler.xml @@ -1,5 +1,5 @@ - + @@ -69,7 +69,7 @@ function myErrorHandler ($errno, $errstr, $errfile, $errline) { echo " Fatal error in line ".$errline." of file ".$errfile; echo ", PHP ".PHP_VERSION." (".PHP_OS.")
\n"; echo "Aborting...
\n"; - exit 1; + exit(1); break; case ERROR: echo "ERROR [$errno] $errstr
\n";