NYCPHP Meetup

NYPHP.org

[nycphp-talk] Second time array_walk failed for me

Adam Maccabee Trachtenberg adam at trachtenberg.com
Thu Nov 6 17:37:43 EST 2003


On Thu, 6 Nov 2003, soazine at pop.erols.com wrote:

> I posted the code, the script, the links and the explanation on this URL:
> http://www.phpfreaks.com/forums/viewtopic.php?p=38181#38181 it has
> everything you should need for me to explain why, for the second time,
> array_walk failed to do anything to the array element(s).

Don't return the modified value; assign it to the first parameter of
your callback function.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!



More information about the talk mailing list