array_fill error

From: Date: Tue, 11 Feb 2003 16:46:50 +0000
Subject: array_fill error
Groups: php.general 
Request: Send a blank email to php-general+get-135203@lists.php.net to get a copy of this message
I am trying to initialize a large array with all values being 0. I’ve tried: $arr = array_fill(0, 99, 0); and I get this error message: Fatal error: Call to undefined function: array_fill() Any information and suggestions will be greatly appreciated. Thanks. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003

« previous php.general (#135203) next »