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>- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml jim winstead
- [PHP-DOC] [conventions] .inc or not .inc Gabor Hojtsy
- Re: [PHP-DOC] [conventions] .inc or not .inc Serdar Soydemir
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml jim winstead
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Philip Olson
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Philip Olson
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Kenneth Schwartz
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Philip Olson
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Masaki Fujimoto
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Derick Rethans
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Friedhelm Betz
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Friedhelm Betz
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Derick Rethans
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Dallas Thunder
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Derick Rethans
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Sara Golemon
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Victor Boivie
- [PHP-DOC] cvs: phpdoc /en/language control-structures.xml Victor Boivie
