For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > June 2007 > cvs: phpdoc /en/language control-structures.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/language control-structures.xml
Jakub Vrana

2007-06-28, 7:59 am

vrana Thu Jun 28 11:02:27 2007 UTC

Modified files:
/phpdoc/en/language control-structures.xml
Log:
default in switch doesn't need to be last

http://cvs.php.net/viewvc.cgi/phpdo...3&diff_format=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.142 phpdoc/en/language/control-structures.xml:1.143
--- phpdoc/en/language/control-structures.xml:1.142 Wed Jun 20 22:24:11 2007
+++ phpdoc/en/language/control-structures.xml Thu Jun 28 11:02:27 2007
@@ -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 @@
</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[
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com