3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo serialize(array(12.0, 12.5, 13, '14'));
Output for 4.3.0 - 7.1.0
a:4:{i:0;d:12;i:1;d:12.5;i:2;i:13;i:3;s:2:"14";}