3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo round(3,90566037735849,2,PHP_ROUND_HALF_UP);
Output for 5.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.3.0alpha1
Warning: round() expects at most 3 parameters, 4 given in /in/FGmj6 on line 4
Output for 4.3.0 - 5.2.17
Notice: Use of undefined constant PHP_ROUND_HALF_UP - assumed 'PHP_ROUND_HALF_UP' in /in/FGmj6 on line 4 Warning: Wrong parameter count for round() in /in/FGmj6 on line 4