3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = array('a', 2=> 'toto'); echo serialize($t);
Output for 4.3.0 - 7.1.0
a:2:{i:0;s:1:"a";i:2;s:4:"toto";}