源代码:
"horse", "Type" => "mammal"); print_r(array_map("myfunction",$a)); ?>
运行结果: