bjori Fri Aug 31 19:50:35 2007 UTC
Modified files:
/phpdoc/en/appendices comparisons.xml
/phpdoc/en/language control-structures.xml
Log:
- Fixed bug#42504 ('switch' manual page)
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/comparisons.xml?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/en/appendices/comparisons.xml
diff -u phpdoc/en/appendices/comparisons.xml:1.12
phpdoc/en/appendices/comparisons.xml:1.13
--- phpdoc/en/appendices/comparisons.xml:1.12 Wed Jun 20 22:24:10 2007
+++ phpdoc/en/appendices/comparisons.xml Fri Aug 31 19:50:35 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<appendix xml:id="types.comparisons" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>PHP type comparison tables</title>
<para>
@@ -191,7 +191,7 @@
</para>
<para>
- <table>
+ <table xml:id="types.comparisions-loose">
<title>Loose comparisons with <literal>==</literal></title>
<tgroup cols="12">
<thead>
@@ -398,7 +398,7 @@
</para>
<para>
- <table>
+ <table xml:id="type.comparisons-strict">
<title>Strict comparisons with <literal>===</literal></title>
<tgroup cols="12">
<thead>
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.148&r2=1.149&diff_format=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.148
phpdoc/en/language/control-structures.xml:1.149
--- phpdoc/en/language/control-structures.xml:1.148 Fri Aug 17 22:03:53 2007
+++ phpdoc/en/language/control-structures.xml Fri Aug 31 19:50:35 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.148 $ -->
+<!-- $Revision: 1.149 $ -->
<chapter xml:id="language.control-structures"
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Control Structures</title>
@@ -852,6 +852,12 @@
the outer loop, use <literal>continue 2</literal>.
</simpara>
</note>
+ <note>
+ <para>
+ Note that switch/case does
+ <link linkend="types.comparisions-loose">loose comparision</link>.
+ </para>
+ </note>
<para>
The following two examples are two different ways to write the
same thing, one using a series of <literal>if</literal> and