3v4l.org

run code in 200+ php & hhvm versions
<?php ini_set('serialize_precision', ini_get('precision')); $c = 122.13 + 0.02; echo $c; echo "\n"; echo json_encode($c); echo "\n"; echo json_encode(105.15);
based on eEOpJ
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.1
122.15 122.15 105.15