3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $database = new SQLite3($dbname);
based on eh2cv
Output for 5.6.25 - 5.6.28, 7.0.10 - 7.2.0
Notice: Undefined variable: dbname in /in/L9dhC on line 3
Output for 7.0.0 - 7.0.9
Notice: Undefined variable: dbname in /in/L9dhC on line 3 Fatal error: Uncaught Exception: Unable to expand filepath in /in/L9dhC:3 Stack trace: #0 /in/L9dhC(3): SQLite3->__construct('') #1 {main} thrown in /in/L9dhC on line 3
Process exited with code 255.
Output for 5.5.0 - 5.6.24
Notice: Undefined variable: dbname in /in/L9dhC on line 3 Fatal error: Uncaught exception 'Exception' with message 'Unable to expand filepath' in /in/L9dhC:3 Stack trace: #0 /in/L9dhC(3): SQLite3->__construct('') #1 {main} thrown in /in/L9dhC on line 3
Process exited with code 255.