Try "array" only: $arr = array(0, 99, 0);
print_r($arr); HTH -- Un gran saludo/Big regards... Arturo Barajas, IT/Systems PPG MX (SJDR) (427) 271-9918, x448 > -----Original Message----- > From: Erin Fry [mailto:[EMAIL PROTECTED]] > Sent: Martes, 11 de Febrero de 2003 10:47 a.m. > To: [EMAIL PROTECTED] > Subject: [PHP] array_fill error > > > 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php