3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $A = array(9,4,-3,-10); function solution($A) { $average = array_sum($A) / count($A); print $average; }
Output for 4.3.0 - 7.2.0