Re: [PHP] something like array_walk?

2002-11-15 Thread A. J. McLean
Thanks! Just what I was looking for! "Jon Haworth" <[EMAIL PROTECTED]> wrote in message news:67DF9B67CEFAD4119E4200D0B720FA3F0241E788@;BOOTROS... > Hi, > > > I want to take an array and get the soundex() for each element > > in that array and return the results into another array. > > How about:

[PHP] something like array_walk?

2002-11-15 Thread A. J. McLean
I want to take an array and get the soundex() for each element in that array and return the results into another array. Is there an clean way to do this? $color = array("blue", "green", "orange", "purple", "red", "yellow"); function sound(&$word){ $word = soundex($word); } array_walk($color, '