3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function _AVG($args){ /*$count = func_num_args(); $args = func_get_args();*/ $count = count($args); $sum = array_sum($args); return (float)bcdiv($sum,$count,2); } function _MIN($args){ return (float)min($args); } echo _MIN(array(0.10));
Output for 4.3.0 - 7.1.7
0.1