数组求和

 array_sum($total);

原文地址:https://www.cnblogs.com/hellowzd/p/5386118.html