note 73431 deleted from function.array-fill by colder

From: Date: Fri, 23 Feb 2007 00:33:20 +0000
Subject: note 73431 deleted from function.array-fill by colder
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-123728@lists.php.net to get a copy of this message
Note Submitter: manwe ---- Any idea how to fill array with random values (without using for(;;), just one function)? <?php array_fill(1, 20, rand()); ?> Above gives array with 20 identical integers.

« previous php.notes (#123728) next »