cvs: phpdoc /en/reference/errorfunc/functions set-error-handler.xml
| From: | Andrioli Darvin | Date: | Sat, 27 Jul 2002 12:11:45 +0000 |
| Subject: | cvs: phpdoc /en/reference/errorfunc/functions set-error-handler.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969347620@lists.php.net to get a copy of this message | ||
darvina Sat Jul 27 08:11:45 2002 EDT
Modified files:
/phpdoc/en/reference/errorfunc/functions set-error-handler.xml
Log:
Fix the use of define inside the example
Index: phpdoc/en/reference/errorfunc/functions/set-error-handler.xml
diff -u phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.5
phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.6
--- phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.5 Sun Jul 7 14:25:40 2002
+++ phpdoc/en/reference/errorfunc/functions/set-error-handler.xml Sat Jul 27 08:11:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.set-error-handler">
<refnamediv>
@@ -54,9 +54,9 @@
<?php
// redefine the user error constants - PHP 4 only
-define (FATAL,E_USER_ERROR);
-define (ERROR,E_USER_WARNING);
-define (WARNING,E_USER_NOTICE);
+define ("FATAL",E_USER_ERROR);
+define ("ERROR",E_USER_WARNING);
+define ("WARNING",E_USER_NOTICE);
// set the error reporting level for this script
error_reporting (FATAL | ERROR | WARNING);