<?php $arr = [["5689.01"],["5689.01"],[0],["5665.11"]]; $sum = array_sum(array_column($arr, 0)); $count = count($arr); echo "count is ". $count . " And sum is " . $sum;
You have javascript disabled. You will not be able to edit any code.