php - Counting elements in multidimensional array? - Stack Overflow

php - Counting elements in multidimensional array? - Stack Overflow

瀏覽:327
日期:2025-06-13
I would write this code: $count = 0; foreach ($topics as $t) { $count+= count($t); } echo $count; ......看更多