--TEST-- Bug #76665 (SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle) --EXTENSIONS-- sqlite3 --FILE-- exec("CREATE TABLE foo (bar REAL)"); $stmt = $db->prepare("INSERT INTO foo VALUES (:bar)"); $stmt->bindValue(':bar', 17, SQLITE3_FLOAT); $stmt->execute(); var_dump($db->querySingle("SELECT bar FROM foo LIMIT 1")); ?> --EXPECT-- float(17)