3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $db = new SQLite3(':memory:'); $stmt = $db->prepare('SELECT * FROM test WHERE test = ?'); $res = $stmt->bindfParam(1, '11111a', SQLITE3_INTEGER); var_dump($res); var_dump($stmt);
Output for 7.0.0 - 7.2.6
Warning: SQLite3::prepare(): Unable to prepare statement: 1, no such table: test in /in/eh2cv on line 4 Fatal error: Uncaught Error: Call to a member function bindfParam() on boolean in /in/eh2cv:5 Stack trace: #0 {main} thrown in /in/eh2cv on line 5
Process exited with code 255.
Output for 5.6.0 - 5.6.28
Warning: SQLite3::prepare(): Unable to prepare statement: 1, no such table: test in /in/eh2cv on line 4 Fatal error: Call to a member function bindfParam() on boolean in /in/eh2cv on line 5
Process exited with code 255.
Output for 5.3.0 - 5.5.38
Warning: SQLite3::prepare(): Unable to prepare statement: 1, no such table: test in /in/eh2cv on line 4 Fatal error: Call to a member function bindfParam() on a non-object in /in/eh2cv on line 5
Process exited with code 255.
Output for 5.0.0 - 5.2.17
Fatal error: Class 'SQLite3' not found in /in/eh2cv on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: sqlite3 in /in/eh2cv on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: sqlite3 in /in/eh2cv on line 3