3v4l.org

run code in 200+ 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 - 7.2.0
209951