note 9326 added to array_values

From: Date: Sat, 28 Oct 2000 04:00:11 +0000
Subject: note 9326 added to array_values
Groups: php.notes 
Request: Send a blank email to php-notes+get-7091@lists.php.net to get a copy of this message
Actually, I'm finding that the given example is, sadly, correct. array_values() isn't apparently meant for use in associative arrays. In other words, the term "values" in the function name isn't meant to term it as the opposite of array_keys(). Somebody please tell me that I'm wrong! http://www.php.net/manual/function.array-values.php

« previous php.notes (#7091) next »