3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set( "precision", 14 ); ini_set( "serialize_precision", -1 ); echo json_encode([0.1, round((14984 / 83112), 4)*100]);
based on 1Ir1V
Output for 7.1.0 - 7.3.0beta1
[0.1,18.029999999999998]
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.0.27
[0.1,18.03]