mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
default in switch doesn't need to be last
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238780 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
87fdb0c7eb
commit
6ddf596c98
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.142 $ -->
|
||||
<!-- $Revision: 1.143 $ -->
|
||||
<chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Control Structures</title>
|
||||
|
||||
|
@ -969,8 +969,7 @@ case 3:
|
|||
</para>
|
||||
<para>
|
||||
A special case is the <literal>default</literal> case. This case matches
|
||||
anything that wasn't matched by the other cases, and should be the last
|
||||
<literal>case</literal> statement. For example:
|
||||
anything that wasn't matched by the other cases. For example:
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
|
Loading…
Reference in a new issue