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";