note 20178 added to function.array-fill

From: Date: Mon, 25 Mar 2002 19:53:42 +0000
Subject: note 20178 added to function.array-fill
Groups: php.notes 
Request: Send a blank email to php-notes+get-28189@lists.php.net to get a copy of this message
I think this function would be more elegant if its parameters were in the opposite order and start_index were optional. For instance: array_fill('a', 3) == array('a', 'a', 'a'). array_fill('b', 2, 3) == array(3 => 'b', 4 => 'b'). Since this function is still apparently CVS-only, perhaps this can be changed before the next major release? Anyone with me on this? Peace, Dave -- http://www.php.net/manual/en/function.array-fill.php http://master.php.net/manage/user-notes.php?action=edit+20178 http://master.php.net/manage/user-notes.php?action=delete+20178 http://master.php.net/manage/user-notes.php?action=reject+20178

« previous php.notes (#28189) next »