3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a= array(10,2,3); $b = array(3,2,11); echo "sum(a)=".array_sum($a)."\n"; echo "sum(b)=".array_sum($b); ?>
Output for 4.3.0 - 7.3.0
sum(a)=15 sum(b)=16