cvs: phpdoc /en/language control-structures.xml
| From: | Friedhelm Betz | Date: | Tue, 16 Apr 2002 10:26:21 +0000 |
| Subject: | cvs: phpdoc /en/language control-structures.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969344448@lists.php.net to get a copy of this message | ||
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)), "<br>";
+ echo similar_text (md5($x), md5($x*$x)), "<br />;";
}
}
// Display the data stored in the profiler
print_r (profile (TRUE));
?>
-</pre>
]]>
</programlisting>
</example>