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) {