mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
270fe8d301
commit
8a238b09cd
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue