[PHP] array_walk() From: Abe (abe <email protected>)
Date: 12/28/00

Hey there,
I wonder if any of you wizards can see why this is not working. It is an example from a book but doesn't work for me:

function println ($s) {
echo "$s<br>\n";
}
$countries = array ("ca", "cr", "de", "us")
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