PHP array_sum May 7, 2012 Pramod T P It finds the sum of values in an array Example <?php $array = array(1, 7, 5, 8); echo array_sum($array); ?> Output 21