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-01 00:00:00";s:13:"timezone_type";i:1;s:8:"timezone";s:6:"+01:00";}"));
based on P6D1S
Output for 5.4.0 - 5.4.34
Parse error: syntax error, unexpected 'DateTime' (T_STRING) in /in/GDHEr on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_STRING in /in/GDHEr on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STRING in /in/GDHEr on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/GDHEr on line 3
Process exited with code 255.