From c8e821cf05b7b0c4dc80eed2efc1db0f66ebf08f Mon Sep 17 00:00:00 2001 From: Dave Barr Date: Wed, 26 Apr 2006 01:10:20 +0000 Subject: [PATCH] - Fix example output + typo (bricebhb) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@211993 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/errorfunc/functions/set-error-handler.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reference/errorfunc/functions/set-error-handler.xml b/reference/errorfunc/functions/set-error-handler.xml index 73ee947ecc..db8130fe91 100644 --- a/reference/errorfunc/functions/set-error-handler.xml +++ b/reference/errorfunc/functions/set-error-handler.xml @@ -1,5 +1,5 @@ - + @@ -237,7 +237,7 @@ function myErrorHandler($errno, $errstr, $errfile, $errline) echo "My NOTICE [$errno] $errstr
\n"; break; default: - echo "Unkown error type: [$errno] $errstr
\n"; + echo "Unknown error type: [$errno] $errstr
\n"; break; } } @@ -302,7 +302,7 @@ Array ) ---- vector b - a warning (b = log(PI) * a) -WARNING [1024] Value at position 2 is not a number, using 0 (zero)
+My WARNING [1024] Value at position 2 is not a number, using 0 (zero)
Array ( [0] => 2.2894597716988 @@ -314,11 +314,11 @@ Array ) ---- vector c - an error -ERROR [512] Incorrect input vector, array of values expected
+My ERROR [512] Incorrect input vector, array of values expected
NULL ---- vector d - fatal error -FATAL [256] log(x) for x <= 0 is undefined, you used: scale = -2.5
+My FATAL [256] log(x) for x <= 0 is undefined, you used: scale = -2.5
Fatal error in line 36 of file trigger_error.php, PHP 4.0.2 (Linux)
Aborting...
]]>