betz            Tue Apr 16 06:26:21 2002 EDT

  Modified files:              
    /phpdoc/en/language control-structures.xml 
  Log:
  example fix
  
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.55 
phpdoc/en/language/control-structures.xml:1.56
--- phpdoc/en/language/control-structures.xml:1.55      Sun Feb 10 10:49:24 2002
+++ phpdoc/en/language/control-structures.xml   Tue Apr 16 06:26:20 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.55 $ -->
+<!-- $Revision: 1.56 $ -->
  <chapter id="control-structures">
   <title>Control Structures</title>
 
@@ -925,7 +925,6 @@
      <title>Profile a section of PHP code</title>
      <programlisting role="php">
 <![CDATA[
-<pre>
 <?php
 // A function that records the time when it is called
 function profile ($dump = FALSE)
@@ -951,14 +950,13 @@
 // Run a block of code, throw a tick every 2nd statement
 declare (ticks=2) {
     for ($x = 1; $x < 50; ++$x) {
-        echo similar_text (md5($x), md5($x*$x)), "&lt;br&gt;";
+        echo similar_text (md5($x), md5($x*$x)), "<br />;";
     }
 }
 
 // Display the data stored in the profiler
 print_r (profile (TRUE));
 ?>
-</pre>
 ]]>
      </programlisting>
     </example>


Reply via email to