3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(unserialize('a:2:{i:0;a:1:{i:0;O:12:"DateTimeZone":3:{s:4:"meow";O:8:"stdClass":0:{}s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}}i:1;r:4;}'));
based on Dksf3
Output for 5.2.0 - 7.2.0
Array ( [0] => Array ( [0] => DateTimeZone Object ( [meow] => stdClass Object ( ) [timezone_type] => 3 [timezone] => UTC ) ) [1] => stdClass Object ( ) )
Output for 5.0.0 - 5.1.6
Array ( [0] => Array ( [0] => __PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] => DateTimeZone [meow] => stdClass Object ( ) [timezone_type] => 3 [timezone] => UTC ) ) [1] => stdClass Object ( ) )
Output for 4.3.10 - 4.4.9
Array ( [0] => Array ( [0] => __PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] => datetimezone [meow] => stdClass Object ( ) [timezone_type] => 3 [timezone] => UTC ) ) [1] => stdClass Object ( ) )
Output for 4.3.2 - 4.3.9
Notice: unserialize(): Error at offset 127 of 132 bytes in /in/J36UV on line 3
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 127 of 132 bytes in /in/J36UV on line 3