PHP array_walk() 函数
对数组中的每个元素应用用户自定义函数:
";}$a=array("a"=>"red","b"=>"green","c"=>"blue");array_walk($a,"myfunction");?>
本文共 178 字,大约阅读时间需要 1 分钟。
对数组中的每个元素应用用户自定义函数:
";}$a=array("a"=>"red","b"=>"green","c"=>"blue");array_walk($a,"myfunction");?>
转载于:https://www.cnblogs.com/saonian/p/5311592.html