3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array("1" => "PHP code tester Sandbox Online", "foo" => "bar", 5 , 5 => 89009, "case" => "Random Stuff", "PHP Version" => phpversion() ); $serialized = serialize($array); var_dump(unserialize($serialized));<?php
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23
Parse error: syntax error, unexpected '<' in /in/SsKuc on line 12
Process exited with code 255.

preferences:
199.74 ms | 1395 KiB | 60 Q