/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
sqlite3
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/sqlite3/tests/bug71049.phpt
--TEST-- Bug #71049 (SQLite3Stmt::execute() releases bound parameter instead of internal buffer) --SKIPIF-- <?php if (!extension_loaded('sqlite3')) die('skip'); ?> --FILE-- <?php require(__DIR__ . '/new_db.inc'); $db->exec('CREATE TABLE test (age INTEGER, id STRING)'); $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC"); $foo = "alive" . chr(33); $stmt->bindParam(1, $foo, SQLITE3_BLOB); $results = $stmt->execute(); var_dump($foo); $db->close(); ?> --EXPECT-- string(6) "alive!"
Copyright ©2k19 -
Hexid
|
Tex7ure