Fixed example :

return shouldn't be in while() statement...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45417 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2001-04-17 16:02:35 +00:00
parent 1bf58d5972
commit fa443d0a00

View file

@ -1452,8 +1452,8 @@ function array_values ($arr) {
$t = array();
while (list($k, $v) = each ($arr)) {
$t[] = $v;
return $t;
}
return $t;
}
</programlisting>
</example>