Fixed example (bug #22254)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@118163 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Victor Boivie 2003-02-26 06:34:22 +00:00
parent 270fe8d301
commit 8a238b09cd

View file

@ -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 @@ foreach(array_expression as $key => $value) statement
<informalexample>
<programlisting role="php">
<![CDATA[
$arr = array("one", "two", "three");
reset ($arr);
while (list(, $value) = each ($arr)) {
echo "Value: $value<br>\n";