mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- Fixed bug#42504 ('switch' manual page)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242009 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
48d0d06282
commit
0e75f7dc5c
2 changed files with 10 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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 @@ while ($i++ < 5) {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue