/PHP-8.1/ext/sqlite3/tests/ |
H A D | sqlite3_05_delete.phpt | 2 SQLite3::query DELETE tests 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC"); 30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | bug69972.phpt | 9 $result = $db->query("SELECT * FROM non_existent_table"); 21 Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: non_existent_table in %sb…
|
/PHP-8.1/ext/pdo_dblib/tests/ |
H A D | batch_stmt_ins_exec.phpt | 16 $db->query("create table #php_pdo(id int); "); 17 $db->query( 26 $stmt = $db->query(
|
H A D | datetime2.phpt | 18 $stmt = $db->query($sql); 23 $stmt = $db->query($sql);
|
H A D | stringify_uniqueidentifier.phpt | 32 $stmt = $db->query($sql); 42 $stmt = $db->query($sql); 56 $stmt = $db->query($sql);
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | bug63185.phpt | 26 $st = $pdo->query('CALL test_procedure_error_at_second()'); 36 $st = $pdo->query('CALL test_procedure_error_at_second()'); 50 $pdo->query('DROP PROCEDURE IF EXISTS test_procedure_error_at_second');
|
H A D | bug_33689.phpt | 2 PDO MySQL Bug #33689 (query() execute() and fetch() return false on valid select queries) 21 var_dump($db->query('SELECT * from test')); 22 foreach ($db->query('SELECT * from test') as $row) {
|
H A D | bug_41997.phpt | 11 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC); 30 $stmt = $db->query("CALL p()"); 36 $stmt = $db->query('SELECT 2 AS "two"');
|
H A D | pdo_mysql_errorinfo.phpt | 41 or PDO->query() and invoke an error on the statement handle, 49 $stmt = $db->query('SELECT id, label FROM test'); 60 @$stmt = $db->query('SELECT id, label FROM unknown'); 64 $stmt = $db->query('SELECT id, label FROM test'); 70 @$db->query('SELECT id, label FROM unknown');
|
H A D | pdo_mysql_stmt_multiquery.phpt | 2 PDOStatements and multi query 16 …$stmt = $db->query('SELECT label FROM test ORDER BY id ASC LIMIT 1; SELECT label FROM test ORDER B… 25 …$stmt = $db->query('SELECT label FROM test ORDER BY id ASC LIMIT 1; SELECT label FROM test ORDER B… 101 Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in…
|
H A D | bug53782.phpt | 20 $res = $conn->query('SELECT 0'); 23 $conn->query('ERROR');
|
H A D | pdo_mysql_stmt_rowcount.phpt | 18 if (0 !== ($tmp = $db->query('SELECT id FROM test WHERE 1 = 0')->rowCount())) 21 if (1 !== ($tmp = $db->query('SELECT id FROM test WHERE id = 1')->rowCount()))
|
H A D | bug_pecl_7976.phpt | 12 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC); 32 $stmt = $db->query('CALL p()'); 36 $stmt = $db->query('CALL p()');
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_pconn_limits.phpt | 21 printf("[001] Cannot run query, [%d] %s\n", 33 printf("[003] Cannot run query, [%d] %s\n", 47 printf("[005] Cannot run query, [%d] %s\n", 60 printf("[007] Cannot run query, [%d] %s\n", 74 printf("[009] Cannot run query, [%d] %s\n",
|
H A D | bug34810.phpt | 24 $mysql->query("DROP TABLE IF EXISTS test_warnings"); 25 $mysql->query("CREATE TABLE test_warnings (a int not null)"); 26 $mysql->query("SET sql_mode=''"); 27 $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
|
H A D | bug55283.phpt | 23 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) { 26 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) { 55 $r = $link->query("SHOW STATUS LIKE 'Ssl_cipher'"); 63 $r2 = $link2->query("SHOW STATUS LIKE 'Ssl_cipher'");
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli.stub.php | 254 public function multi_query(string $query): bool {} argument 286 public function prepare(string $query): mysqli_stmt|false {} argument 292 …public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {} argument 332 public function real_query(string $query): bool {} argument 605 public function __construct(mysqli $mysql, ?string $query = null) {} argument 710 public function prepare(string $query): bool {} argument 911 function mysqli_multi_query(mysqli $mysql, string $query): bool {} argument 936 function mysqli_prepare(mysqli $mysql, string $query): mysqli_stmt|false {} argument 941 function mysqli_query(mysqli $mysql, string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli… argument 960 function mysqli_real_query(mysqli $mysql, string $query): bool {} argument [all …]
|
/PHP-8.1/ext/pdo/tests/ |
H A D | bug_79106.phpt | 15 if (@$db->query('SELECT 1 as "1"') === false) { 25 $stmt = $db->query('SELECT 0 as "2007", 0 as "2008", 0 as "2020"');
|
H A D | bug_79106_collision.phpt | 15 if (@$db->query('SELECT 1 as "1"') === false) { 25 $stmt = $db->query('SELECT 11111 as "1", 22222 as "2"');
|
H A D | bug_34687.phpt | 2 PDO Common: Bug #34687 (query doesn't return error information) 19 $x = $db->query("UPDATE non_existent_pdo_test_table set foo = 'bar'");
|
H A D | bug_64172.phpt | 24 $db->query('SELECT * FROM bad_table'); 31 $stmt = $db->query('SELECT * FROM test'); 52 Warning: PDO::query(): SQLSTATE[%s]: %s
|
/PHP-8.1/ext/pdo_pgsql/tests/ |
H A D | bug72633.phpt | 21 $db->query('CREATE TABLE test_last_id (id SERIAL NOT NULL, field1 VARCHAR(10))'); 36 $db->query('DROP TABLE test_last_id');
|
/PHP-8.1/ext/pdo_sqlite/tests/ |
H A D | bug_63916-2.phpt | 13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 20 $stmt = $conn->query('SELECT num FROM users');
|
H A D | bug_63916.phpt | 13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 20 $stmt = $conn->query('SELECT num FROM users');
|
/PHP-8.1/sapi/fpm/tests/ |
H A D | bug64539-status-json-encoding.phpt | 32 ['query' => 'a=b"c'], 33 ['uri' => '/status', 'query' => 'full&json', 'delay' => 100000],
|