1--TEST-- 2Bug #76665 (SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle) 3--EXTENSIONS-- 4sqlite3 5--FILE-- 6<?php 7$db = new SQLite3(':memory:'); 8$db->exec("CREATE TABLE foo (bar REAL)"); 9$stmt = $db->prepare("INSERT INTO foo VALUES (:bar)"); 10$stmt->bindValue(':bar', 17, SQLITE3_FLOAT); 11$stmt->execute(); 12var_dump($db->querySingle("SELECT bar FROM foo LIMIT 1")); 13?> 14--EXPECT-- 15float(17) 16