Return the sum of all the values in the array (5+15+25):


SUBMITTED BY: henry1874w

DATE: June 26, 2017, 4:45 p.m.

FORMAT: Text only

SIZE: 50 Bytes

HITS: 215

  1. <?php
  2. $a=array(5,15,25);
  3. echo array_sum($a);
  4. ?>

comments powered by Disqus