3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = unserialize('a:2:{i:0;a:5:{s:4:"name";s:16:"Sally Gunasekara";s:12:"birthday_day";s:1:"1";s:14:"birthday_month";s:1:"1";s:13:"birthday_year";s:4:"2013";s:6:"gender";s:1:"F";}i:1;a:5:{s:4:"name";s:16:"Lilly Gunasekara";s:12:"birthday_day";s:1:"1";s:14:"birthday_month";s:1:"1";s:13:"birthday_year";s:4:"2013";s:6:"gender";s:1:"M";}}'); var_dump($x);
based on 28OFa
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(2) { [0]=> array(5) { ["name"]=> string(16) "Sally Gunasekara" ["birthday_day"]=> string(1) "1" ["birthday_month"]=> string(1) "1" ["birthday_year"]=> string(4) "2013" ["gender"]=> string(1) "F" } [1]=> array(5) { ["name"]=> string(16) "Lilly Gunasekara" ["birthday_day"]=> string(1) "1" ["birthday_month"]=> string(1) "1" ["birthday_year"]=> string(4) "2013" ["gender"]=> string(1) "M" } }
Output for hhvm-3.10.0

Process exited with code 153.