From d3222074c47ef412053ca79df70f26f8163d3bd0 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Fri, 12 Jul 2002 10:59:03 +0000 Subject: [PATCH] Fix parse error in example. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@88466 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/errorfunc.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/errorfunc.xml b/functions/errorfunc.xml index 7cf5933dc5..bf06911bc1 100644 --- a/functions/errorfunc.xml +++ b/functions/errorfunc.xml @@ -8,7 +8,7 @@ instead --> - + Error Handling and Logging Functions Errors and Logging @@ -365,7 +365,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";