dave            Wed Apr 26 01:10:20 2006 UTC

  Modified files:              
    /phpdoc/en/reference/errorfunc/functions    set-error-handler.xml 
  Log:
  - Fix example output + typo (bricebhb)
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/errorfunc/functions/set-error-handler.xml?r1=1.32&r2=1.33&diff_format=u
Index: phpdoc/en/reference/errorfunc/functions/set-error-handler.xml
diff -u phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.32 
phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.33
--- phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.32  Tue Nov 
29 13:25:45 2005
+++ phpdoc/en/reference/errorfunc/functions/set-error-handler.xml       Wed Apr 
26 01:10:20 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.32 $ -->
+<!-- $Revision: 1.33 $ -->
 <!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
 <refentry id="function.set-error-handler">
  <refnamediv>
@@ -237,7 +237,7 @@
     echo "<b>My NOTICE</b> [$errno] $errstr<br />\n";
     break;
   default:
-    echo "Unkown error type: [$errno] $errstr<br />\n";
+    echo "Unknown error type: [$errno] $errstr<br />\n";
     break;
   }
 }
@@ -302,7 +302,7 @@
 )
 ----
 vector b - a warning (b = log(PI) * a)
-<b>WARNING</b> [1024] Value at position 2 is not a number, using 0 (zero)<br />
+<b>My WARNING</b> [1024] Value at position 2 is not a number, using 0 
(zero)<br />
 Array
 (
     [0] => 2.2894597716988
@@ -314,11 +314,11 @@
 )
 ----
 vector c - an error
-<b>ERROR</b> [512] Incorrect input vector, array of values expected<br />
+<b>My ERROR</b> [512] Incorrect input vector, array of values expected<br />
 NULL
 ----
 vector d - fatal error
-<b>FATAL</b> [256] log(x) for x <= 0 is undefined, you used: scale = -2.5<br />
+<b>My FATAL</b> [256] log(x) for x <= 0 is undefined, you used: scale = 
-2.5<br />
 Fatal error in line 36 of file trigger_error.php, PHP 4.0.2 (Linux)<br />
 Aborting...<br />
 ]]>

Reply via email to