Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Return the sum of all the values in the array (52.2+13.7+0.9):
SUBMITTED BY:
henry1874w
DATE:
June 26, 2017, 4:46 p.m.
FORMAT:
Text only
SIZE:
71 Bytes
Raw
Download
Tweet
HITS:
214
Go to comments
Report
<?php
$a=array("a"=>52.2,"b"=>13.7,"c"=>0.9);
echo array_sum($a);
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus