PHP - Return Count An Item Appears In Array

前端 未结 0 1689
面向向阳花
面向向阳花 2020-12-15 13:01

I am trying to count how many times Apple appears in this array

$fruits = array (
"Apple",
 array("Apple", "Kiwi", "Tomato&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题