3v4l.org

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