mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
18 lines
469 B
PHP
18 lines
469 B
PHP
--TEST--
|
|
Bug #76665 (SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('sqlite3')) die('skip sqlite3 extension not available');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$db = new SQLite3(':memory:');
|
|
$db->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)
|