Re: array_walk()
| From: | Abe | Date: | Thu, 28 Dec 2000 21:05:46 +0000 |
| Subject: | Re: array_walk() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32152@lists.php.net to get a copy of this message | ||
I can only appologise for my extreme stupidity and blame lack of sleep :-)
Thanks,
Abe
----- Original Message -----
From: "jeremy brand" <jeremy@nirvani.net>
To: "Abe" <abe@fish.tm>
Cc: <php-general@lists.php.net>
Sent: Thursday, December 28, 2000 8:53 PM
Subject: Re: [PHP] array_walk()
> >
> > function println ($s) {
> > echo "$s<br>\n";
> > }
> > $countries = array ("ca", "cr", "de", "us")
>
> Looks like you could use a semi-colon(;) at the end of the above line.
>
> > array_walk ($initials, println);
> >
> >
> > I seem to get a parse error on the array_walk line....
> >
> > I am pretty sure that array_walk is supposed to work on PHP3.
> >
> > Thanks Guys,
> > Abe
> >
>
> Jeremy
>
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 ::
jeremy@nirvani.net
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for
> more
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "<body>" -- Quoted from Yahoo! homepage,
> http://www.yahoo.com
>