php foreach 里面某个字段求和并输出 echo array_sum(array_column($your_array, 'money')); php 2023-04-03 183 点赞 2 评论 277 浏览