如何在php数组中回显每个值的计数?例如在这个数组中:
$array = array(test,test,ok,test,ok);
现在怎样才能在这个数组中进行echo count测试或ok?
php arrays
arrays ×1
php ×1