3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(serialize(array('user'=>0.001, 'pass'=>0.001)));
based on WrIeb
Output for 5.6.28, 7.0.20 - 7.2.0
string(44) "a:2:{s:4:"user";d:0.001;s:4:"pass";d:0.001;}"
Output for 5.3.20 - 5.6.21, 7.0.0 - 7.0.6
string(90) "a:2:{s:4:"user";d:0.00100000000000000002081668;s:4:"pass";d:0.00100000000000000002081668;}"