Re: array_fill error

From: Date: Tue, 11 Feb 2003 17:06:53 +0000
Subject: Re: array_fill error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135207@lists.php.net to get a copy of this message
On Wednesday 12 February 2003 00:46, Erin Fry wrote: > 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. Did you try reading the manual to see whether your version of PHP supports this function? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The disks are getting full; purge a file today. */

« previous php.general (#135207) next »