cvs: phpdoc /en/language control-structures.xml
| From: | Ron Chmara | Date: | Sun, 25 Feb 2001 00:57:11 +0000 |
| Subject: | cvs: phpdoc /en/language control-structures.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969334440@lists.php.net to get a copy of this message | ||
ronabop Sat Feb 24 16:57:11 2001 EDT
Modified files:
/phpdoc/en/language control-structures.xml
Log:
Note that default belongs last, per errata.
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.23
phpdoc/en/language/control-structures.xml:1.24
--- phpdoc/en/language/control-structures.xml:1.23 Sun Oct 29 07:58:09 2000
+++ phpdoc/en/language/control-structures.xml Sat Feb 24 16:57:11 2001
@@ -733,7 +733,8 @@
</para>
<para>
A special case is the default case. This case matches anything
- that wasn't matched by the other cases. For example:
+ that wasn't matched by the other cases, and should be the last
+ <literal>case</literal> statement. For example:
<informalexample>
<programlisting role="php">
switch ($i) {