3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = 10.2; echo var_export($value, true);
based on fFrMG
Output for 5.3.22 - 5.4.21, 7.1.0 - 7.2.0
10.2
Output for 5.6.28, 7.0.20
10.199999999999999
Output for 5.4.22 - 5.6.21, 7.0.0 - 7.0.6
10.1999999999999992894573