note 10657 deleted from array_values by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Wed, 08 Aug 2001 05:17:24 +0000 |
| Subject: | note 10657 deleted from array_values by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16461@lists.php.net to get a copy of this message | ||
Correction to last example
function array_values ($arr) {
$t = array();
while (list($k, $v) = each ($arr)) {
$t[] = $v;
}
return $t;
}