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