3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo serialize(NULL + 0.0021); echo PHP_EOL; echo serialize(0.0021);
based on gtW7N
Output for 7.1.0 - 7.2.0
d:0.0021; d:0.0021;
Output for 5.6.28, 7.0.20
d:0.0020999999999999999; d:0.0020999999999999999;
Output for 5.3.17 - 5.6.21, 7.0.0 - 7.0.6
d:0.00209999999999999987024268; d:0.00209999999999999987024268;