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.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to