3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:8:"DateTime":3:{s:4:"date";s:19:"1970-01-0100:00:00";s:13:"timezone_type";i:1;s:8:"timezone";s:6:"+01:00";}'));
based on u7JqR
Output for 4.3.10 - 4.4.9, 5.0.3 - 7.1.0
Notice: unserialize(): Error at offset 54 of 109 bytes in /in/s70nM on line 3 bool(false)
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
Notice: unserialize(): Error at offset 56 of 109 bytes in /in/s70nM on line 3 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 56 of 109 bytes in /in/s70nM on line 3 bool(false)