victor Wed Feb 26 01:34:23 2003 EDT Modified files: /phpdoc/en/language control-structures.xml Log: Fixed example (bug #22254) Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.67 phpdoc/en/language/control-structures.xml:1.68 --- phpdoc/en/language/control-structures.xml:1.67 Tue Feb 4 07:39:58 2003 +++ phpdoc/en/language/control-structures.xml Wed Feb 26 01:34:22 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.67 $ --> +<!-- $Revision: 1.68 $ --> <chapter id="control-structures"> <title>Control Structures</title> @@ -537,6 +537,7 @@ <informalexample> <programlisting role="php"> <![CDATA[ +$arr = array("one", "two", "three"); reset ($arr); while (list(, $value) = each ($arr)) { echo "Value: $value<br>\n";
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php