3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = round(0.21, 2); echo serialize($x);
based on WgN44
Output for 7.1.0 - 7.2.0
d:0.21;
Output for 5.6.28, 7.0.20
d:0.20999999999999999;
Output for 5.3.17 - 5.6.21, 7.0.0 - 7.0.6
d:0.209999999999999992228439;