源代码:
运行结果:
Array ( [A] => 2 [Cat] => 1 [Dog] => 2 )