3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:8:"DateTime":3:{s:4:"date";s:26:"2014-10-24 23:48:14.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:16:"Europe/Amsterdam";}'));
based on qvaKP
Output for 5.2.0 - 5.2.17, 5.4.30 - 7.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2014-10-24 23:48:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.3.0 - 5.4.29
object(DateTime)#1 (3) { ["date"]=> string(19) "2014-10-24 23:48:14" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 5.0.0 - 5.1.6
object(__PHP_Incomplete_Class)#1 (4) { ["__PHP_Incomplete_Class_Name"]=> string(8) "DateTime" ["date"]=> string(26) "2014-10-24 23:48:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }
Output for 4.3.0 - 4.4.9
object(__PHP_Incomplete_Class)(4) { ["__PHP_Incomplete_Class_Name"]=> string(8) "datetime" ["date"]=> string(26) "2014-10-24 23:48:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" }