/php-src/ext/pdo_dblib/tests/ |
H A D | datetime_convert.phpt | 20 $stmt = $db->query($sql); 26 $stmt = $db->query($sql);
|
H A D | datetime2.phpt | 21 $stmt = $db->query($sql); 26 $stmt = $db->query($sql);
|
H A D | batch_stmt_ins_exec.phpt | 17 $db->query("create table #test_batch_stmt_ins_exec(id int); "); 18 $db->query( 27 $stmt = $db->query(
|
/php-src/ext/mysqli/ |
H A D | mysqli.stub.php | 824 public function execute_query(string $query, ?array $params = null): mysqli_result|bool {} 868 public function multi_query(string $query): bool {} 898 public function prepare(string $query): mysqli_stmt|false {} 904 …public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {} 942 public function real_query(string $query): bool {} 1214 public function __construct(mysqli $mysql, ?string $query = null) {} 1316 public function prepare(string $query): bool {} 1515 function mysqli_multi_query(mysqli $mysql, string $query): bool {} 1538 function mysqli_prepare(mysqli $mysql, string $query): mysqli_stmt|false {} 1563 function mysqli_real_query(mysqli $mysql, string $query): bool {} [all …]
|
/php-src/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');
|
H A D | bug44327_2.phpt | 10 $x = $db->query('select 1 as queryString'); 18 $x = $db->query('select 1 as queryString');
|
/php-src/ext/pdo/tests/ |
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_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"');
|
/php-src/sapi/fpm/tests/ |
H A D | bug64539-status-json-encoding.phpt | 32 ['query' => 'a=b"c'], 33 ['uri' => '/status', 'query' => 'full&json', 'delay' => 100000],
|
/php-src/ext/dom/tests/ |
H A D | xpath_domnamespacenode.phpt | 2 DOMXPath::query() can return DOMNodeList with DOMNameSpaceNode items 15 $nodes = $xpath->query('//namespace::*');
|
/php-src/ext/pdo_firebird/tests/ |
H A D | bug_76450.phpt | 22 $query = $dbh->prepare($sql); 24 $query->execute();
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug80808.phpt | 19 var_dump($pdo->query('SELECT * FROM test_80808')->fetchColumn(0)); 21 var_dump($pdo->query('SELECT * FROM test_80808')->fetchColumn(0));
|
H A D | gh11587.phpt | 36 $results = $db->query('SELECT * FROM test_11587'); 46 $results = $db->query('SELECT * FROM test_11587'); 56 $results = $db->query('SELECT * FROM test_11587'); 66 $results = $db->query('SELECT * FROM test_11587');
|
H A D | pdo_mysql_stmt_multiquery.phpt | 2 PDOStatements and multi query 19 …$stmt = $db->query("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1; SELECT label FROM {$table}… 28 …$stmt = $db->query("SELECT label FROM {$table} ORDER BY id ASC LIMIT 1; SELECT label FROM {$table}… 104 Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in…
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_all_oo.phpt | 13 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 21 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 29 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 37 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 48 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 58 if (!$res = $mysqli->query("SELECT 1 AS a, 2 AS a, 3 AS c, 4 AS C, NULL AS d, true AS e")) { 59 printf("[010] Cannot run query, [%d] %s\n", $mysqli->errno, $$mysqli->error); 65 if (!$res = $mysqli->query("SELECT 1 AS a, 2 AS b, 3 AS c, 4 AS C")) { 66 printf("[018] Cannot run query, [%d] %s\n", 84 if (!$link->query("DROP TABLE IF EXISTS test")) { [all …]
|
H A D | bug42548.phpt | 26 $mysqli->query("DROP PROCEDURE IF EXISTS p1") or die($mysqli->error); 27 $mysqli->query("CREATE PROCEDURE p1() BEGIN SELECT 23; SELECT 42; END") or die($mysqli->error); 49 $mysqli->query("DROP PROCEDURE p1") or die($mysqli->error);
|
H A D | mysqli_change_user_oo.phpt | 35 if (!$mysqli->query('SET @mysqli_change_user_test_var=1')) 38 if (!$res = $mysqli->query('SELECT @mysqli_change_user_test_var AS test_var')) 48 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user')) 58 if (!$res = $mysqli->query('SELECT @mysqli_change_user_test_var AS test_var'))
|
H A D | mysqli_connect_oo_defaults.phpt | 34 if (!$res = $mysqli->query("SELECT 'mysqli.default_socket' AS testing")) 57 if (!$res = $mysqli->query("SELECT 'mysqli.default_port' AS testing")) 75 if (!$res = $mysqli->query("SELECT 'mysqli.default_pw' AS testing")) 93 if (!$res = $mysqli->query("SELECT 'mysqli.default_user' AS testing")) 111 if (!$res = $mysqli->query("SELECT 1")) 115 if (!$res = $mysqli->query("SELECT SUBSTRING_INDEX(USER(),'@',1) AS username"))
|
H A D | bug72489.phpt | 17 if (!$link->query("DROP TABLE IF EXISTS bug72489")) { 21 if (!$link->query("CREATE TABLE bug72489 (id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, code VARCH… 26 if (!$link->query($seedSQL)) {
|
/php-src/ext/sqlite3/tests/ |
H A D | bug63921-32bit.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 | bug63921-64bit.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 | bug73068.phpt | 18 $r = $db->query("SELECT * FROM t1 WHERE a='1' AND b='2'"); 23 $r = $db->query("SELECT * FROM t1;");
|
/php-src/ext/dom/tests/compareDocumentPosition/ |
H A D | contains_element_longer_descendent.phpt | 22 $container = $xpath->query("//container")->item(0); 26 $element = $xpath->query("//$tag")->item(0);
|