3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php dl("sqlite.so"); $db = new SqliteDatabase("foo");
Output for 7.0.0 - 7.2.0
Warning: dl(): Dynamically loaded extensions aren't enabled in /in/RNXI5 on line 2 Fatal error: Uncaught Error: Class 'SqliteDatabase' not found in /in/RNXI5:3 Stack trace: #0 {main} thrown in /in/RNXI5 on line 3
Process exited with code 255.
Output for 5.4.0 - 5.6.21
Warning: dl(): Dynamically loaded extensions aren't enabled in /in/RNXI5 on line 2 Fatal error: Class 'SqliteDatabase' not found in /in/RNXI5 on line 3
Process exited with code 255.
Output for 5.2.3 - 5.3.29
Warning: dl(): Dynamically loaded extensions aren't enabled in /in/RNXI5 on line 2 Fatal error: Uncaught exception 'SQLiteException' with message 'SQLiteDatabase::__construct(): unable to open database: /foo' in /in/RNXI5:3 Stack trace: #0 /in/RNXI5(3): SQLiteDatabase->__construct('foo') #1 {main} thrown in /in/RNXI5 on line 3
Process exited with code 255.
Output for 5.0.3 - 5.2.2
Warning: dl(): Dynamically loaded extensions aren't enabled in /in/RNXI5 on line 2 Fatal error: Uncaught exception 'SQLiteException' with message 'SQLiteDatabase::__construct(): unable to open database: /in/foo' in /in/RNXI5:3 Stack trace: #0 /in/RNXI5(3): SQLiteDatabase->__construct('foo') #1 {main} thrown in /in/RNXI5 on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.2
Warning: dl(): Dynamically loaded extensions aren't enabled in /in/RNXI5 on line 2 Fatal error: Uncaught exception 'SQLiteException' with message 'SQLiteDatabase::__construct(): unable to open database: /in/foo' in /in/RNXI5:3 Stack trace: #0 {main} thrown in /in/RNXI5 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: dl(): Dynamically loaded extentions aren't enabled in /in/RNXI5 on line 2 Fatal error: Cannot instantiate non-existent class: sqlitedatabase in /in/RNXI5 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: dl() [http://www.php.net/function.dl]: Dynamically loaded extentions aren't enabled in /in/RNXI5 on line 2 Fatal error: Cannot instantiate non-existent class: sqlitedatabase in /in/RNXI5 on line 3