3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php eval('$b = '.var_export(unserialize('O:8:"DateTime":1:{s:15:"\'=>echo 1234,//";s:1:"1";}'),true).';');
based on 63r02
Output for 7.1.0 - 7.2.0
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in /in/SIFo0:3 Stack trace: #0 [internal function]: DateTime->__wakeup() #1 /in/SIFo0(3): unserialize('O:8:"DateTime":...') #2 {main} thrown in /in/SIFo0 on line 3
Process exited with code 255.
Output for 5.3.24 - 5.3.29, 5.4.14 - 7.0.20
Fatal error: Invalid serialization data for DateTime object in /in/SIFo0 on line 3
Process exited with code 255.
Output for 5.3.20 - 5.3.23, 5.4.10 - 5.4.13