<?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);
Warning: SQLite3::prepare(): Unable to prepare statement: no such table: test in /in/eh2cv on line 4
Fatal error: Uncaught Error: Call to a member function bindfParam() on false in /in/eh2cv:5
Stack trace:
#0 {main}
thrown in /in/eh2cv on line 5
Process exited with code 255.
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 bool in /in/eh2cv:5
Stack trace:
#0 {main}
thrown in /in/eh2cv on line 5
Process exited with code 255.
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.
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.