3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array("1" => "PHP code tester: Sandbox Online"); $array2 = array("1" => "PHP code tester Sandbox Online"); echo $serialized = serialize($array); $serialized2 = serialize($array2); var_dump(unserialize($serialized)); var_dump(unserialize($serialized2));
Output for 4.3.0 - 7.2.0
a:1:{i:1;s:31:"PHP code tester: Sandbox Online";}array(1) { [1]=> string(31) "PHP code tester: Sandbox Online" } array(1) { [1]=> string(30) "PHP code tester Sandbox Online" }