goba            Fri Feb 15 06:00:39 2002 EDT

  Modified files:              
    /phpdoc/en/functions        errorfunc.xml 
  Log:
  Some cleanups in examples and correcting a table
  
  
Index: phpdoc/en/functions/errorfunc.xml
diff -u phpdoc/en/functions/errorfunc.xml:1.25 phpdoc/en/functions/errorfunc.xml:1.26
--- phpdoc/en/functions/errorfunc.xml:1.25      Fri Feb 15 04:13:26 2002
+++ phpdoc/en/functions/errorfunc.xml   Fri Feb 15 06:00:38 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.25 $ -->
+<!-- $Revision: 1.26 $ -->
  <reference id="ref.errorfunc">
   <title>Error Handling and Logging Functions</title>
   <titleabbrev>Errors and Logging</titleabbrev>
@@ -160,14 +160,14 @@
 ]]>
       </programlisting>
      </example>
-     Follow the links for the internal values to get their meanings:
+     Follow the links of the constants to get their meanings:
      <table>
       <title><function>error_reporting</function> bit values</title>
       <tgroup cols="2">
        <thead>
         <row>
-         <entry>constant</entry>
          <entry>value</entry>
+         <entry>constant</entry>
         </row>
        </thead>
        <tbody>
@@ -249,16 +249,20 @@
 error_reporting(0);
 /* Turn off all reporting */
 
-error_reporting (7); // Old syntax, PHP 2/3
-error_reporting  (E_ERROR | E_WARNING | E_PARSE); // New syntax for PHP 3/4
+/* Examples are presented firdt in the old sxtax (for PHP 2/3)
+ * and  the new - and adviced - syntax for PHP 3/4
+ */
+
+error_reporting (7);
+error_reporting  (E_ERROR | E_WARNING | E_PARSE);
 /* Good to use for simple running errors  */
 
-error_reporting  (15); // Old syntax, PHP 2/3
-error_reporting (E_ERROR | E_WARNING | E_PARSE | E_NOTICE); // New syntax for PHP 3/4
+error_reporting  (15);
+error_reporting (E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
 /*  good for code authoring to report uninitialized or (possibly mis-spelled) 
variables */
 
-error_reporting (63); // Old syntax, PHP 2/3
-error_reporting (E_ALL); // New syntax for PHP 3/4
+error_reporting (63);
+error_reporting (E_ALL);
 /* report all PHP errors */
 ]]>
       </programlisting>


Reply via email to