3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function roundTo10($value) { $value = ceil($value * 10) / 10; return $value; } echo roundTo10(20); echo roundTo10(99); echo roundTo10(51);
based on ZMlZC
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
209951