fixed broken example ( Bug id #3654 )

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@20777 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hartmut Holzgraefe 2000-03-01 11:09:02 +00:00
parent c8d56c9cb6
commit 324f6e6acd

View file

@ -590,7 +590,7 @@ while ( ++$i ) {
<informalexample>
<programlisting role="php">
while (list ($key, $value) = each ($arr)) {
if ($key % 2) { // skip odd members
if (!($key % 2)) { // skip odd members
continue;
}
do_something_odd ($value);