On 22/10/01, "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote: > That is, you tell it which index to start at, how many elements you want > in the array and what the initialization value should be. > > $a = array_init(5,6,'banana'); > Anybody see a better interface to a function like this?
Sounds good, but I think array_fill might be a bit more descriptive about what the function does? --Wez. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]