源代码:
"red","b"=>"green","c"=>"blue"); array_walk($a,"myfunction"); ?>
运行结果:
The key a has the value red The key b has the value green The key c has the value blue