git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63794 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2001-12-03 18:02:46 +00:00
parent 6a861908e6
commit 8fc7917324

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.44 $ -->
<!-- $Revision: 1.45 $ -->
<chapter id="control-structures">
<title>Control Structures</title>
@ -547,7 +547,7 @@ while (list($key, $value) = each ($arr)) {
echo "Key: $key; Value: $value<br>\n";
}
foreach ($arr as $key =&gt; $value) {
foreach ($arr as $key => $value) {
echo "Key: $key; Value: $value<br>\n";
}
]]>