3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php unserialize('O:3:"PDO":1:{s:3:"dsn";s:17:"sqlite:exampl.php";}');
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught PDOException: You cannot serialize or unserialize PDO instances in /in/DSRI4:2 Stack trace: #0 [internal function]: PDO->__wakeup() #1 /in/DSRI4(2): unserialize('O:3:"PDO":1:{s:...') #2 {main} thrown in /in/DSRI4 on line 2
Process exited with code 255.
Output for 5.1.0 - 5.6.21
Fatal error: Uncaught exception 'PDOException' with message 'You cannot serialize or unserialize PDO instances' in /in/DSRI4:2 Stack trace: #0 [internal function]: PDO->__wakeup() #1 /in/DSRI4(2): unserialize('O:3:"PDO":1:{s:...') #2 {main} thrown in /in/DSRI4 on line 2
Process exited with code 255.
Output for 4.3.0 - 5.0.5