RE: [PHP] array_fill error

From: Date: Tue, 11 Feb 2003 16:51:35 +0000
Subject: RE: [PHP] array_fill error
Groups: php.general 
Request: Send a blank email to php-general+get-135205@lists.php.net to get a copy of this message
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:erinf@jobsoft.com] > Sent: Martes, 11 de Febrero de 2003 10:47 a.m. > To: php-general@lists.php.net > 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 > >

« previous php.general (#135205) next »