3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = array('toto','tutu'); $s = serialize($t); echo $s."\r\n"; $t1 = unserialize($s); print_r($t1);
Output for 4.3.0 - 7.2.0
a:2:{i:0;s:4:"toto";i:1;s:4:"tutu";} Array ( [0] => toto [1] => tutu )