3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $percent_split = round(100 / 6, 2, PHP_ROUND_HALF_DOWN); echo $percent_split; ?>
Output for 5.3.0 - 7.1.0
16.67
Output for 5.2.3 - 5.2.17
Warning: Wrong parameter count for round() in /in/6WnBH on line 2
Output for 4.3.0 - 5.2.2
<br /> <b>Warning</b>: Wrong parameter count for round() in <b>/in/6WnBH</b> on line <b>2</b><br />