3v4l.org

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