3v4l.org

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