3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function avrg() { $count = func_num_args(); $args = func_get_args(); return (array_sum($args) / $count); } ?>
Output for 4.3.0 - 7.2.0