note 20178 deleted from function.array-fill by alindeman
| From: | alindeman@php.net | Date: | Mon, 25 Mar 2002 23:30:22 +0000 |
| Subject: | note 20178 deleted from function.array-fill by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28201@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