note 8681 deleted from array_values by jmoore

From: Date: Sat, 28 Oct 2000 04:19:57 +0000
Subject: note 8681 deleted from array_values by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-7094@lists.php.net to get a copy of this message
Shouldn't it be more like this??: function array_values ($arr) { $t = array(); while (list($k, $v) = each ($arr)) { $t[] = $v; } return $t; }

« previous php.notes (#7094) next »