victor          Wed Mar  5 02:02:45 2003 EDT

  Modified files:              
    /phpdoc/en/language control-structures.xml 
  Log:
  Fixed incorrect example
  
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.68 
phpdoc/en/language/control-structures.xml:1.69
--- phpdoc/en/language/control-structures.xml:1.68      Wed Feb 26 01:34:22 2003
+++ phpdoc/en/language/control-structures.xml   Wed Mar  5 02:02:43 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.68 $ -->
+<!-- $Revision: 1.69 $ -->
  <chapter id="control-structures">
   <title>Control Structures</title>
 
@@ -734,11 +734,9 @@
 <![CDATA[
 if ($i == 0) {
     print "i equals 0";
-}
-if ($i == 1) {
+} elseif ($i == 1) {
     print "i equals 1";
-}
-if ($i == 2) {
+} elseif ($i == 2) {
     print "i equals 2";
 }
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to