PHP Sum of elements of an array – PHP May 11, 2011 Pramod T P 2 Comments <?php $testArray = array(5, 3, 8, 10); echo "Sum is : ".array_sum($testArray) ; //Sum is : 26 ?> Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading...
Thanks for posting this gnarly article!
I can’t seem to look at this site from my iphone!!!!