3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array('foo','bar','baz',1,2,3); var_dump(unserialize(serialize($arr)));
Output for 4.3.0 - 7.2.0
array(6) { [0]=> string(3) "foo" [1]=> string(3) "bar" [2]=> string(3) "baz" [3]=> int(1) [4]=> int(2) [5]=> int(3) }