3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:8:"DateTime":0}'));
Output for 7.1.0
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in /in/IorPH:2 Stack trace: #0 [internal function]: DateTime->__wakeup() #1 /in/IorPH(2): unserialize('O:8:"DateTime":...') #2 {main} thrown in /in/IorPH on line 2
Process exited with code 255.
Output for 5.3.24 - 5.3.29, 5.4.14 - 7.0.14
Fatal error: Invalid serialization data for DateTime object in /in/IorPH on line 2
Process exited with code 255.
Output for 4.3.2 - 5.3.23, 5.4.0 - 5.4.13
Notice: unserialize(): Error at offset 19 of 17 bytes in /in/IorPH on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 19 of 17 bytes in /in/IorPH on line 2 bool(false)