3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array("1" => "PHP code tester: Sandbox Online"); $array2 = array("1" => "PHP code tester Sandbox Online"); $serialized = serialize($array); $serialized2 = serialize($array2); var_dump(unserialize($serialized)); var_dump(unserialize($serialized2));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(1) { [1]=> string(31) "PHP code tester: Sandbox Online" } array(1) { [1]=> string(30) "PHP code tester Sandbox Online" }