Home
last modified time | relevance | path

Searched refs:query (Results 126 – 150 of 601) sorted by relevance

12345678910>>...25

/php-src/ext/dom/tests/
H A Dbug69373.phpt2 Bug #69373 References to deleted XPath query results
11 $all = $xpath->query('//*');
H A Dc14n_no_nodeset_returned.phpt10 $dom->documentElement->C14N(true, false, ['query' => 'string(./root/text())']);
16 XPath query did not return a nodeset
H A DDOMNode_C14NFile_basic.phpt34 var_dump($node->C14NFile($output, false, false, ['query' => []]));
47 DOMNode::C14NFile(): Argument #4 ($xpath) must have a "query" key
48 DOMNode::C14NFile(): Argument #4 ($xpath) "query" option must be a string, array given
H A Dgh13960.phpt2 GH-13960 (NULL bytes in XPath query)
11 $xp->query("//foo[contains(text(), " . $xp->quote("tes\x00t") . ")]");
/php-src/ext/sqlite3/tests/
H A Dbug81742.phpt10 $db->query("ATTACH 'file:..%2ffoo.php' as db2;");
13 Warning: SQLite3::query(): not authorized in %s on line %d
H A Dgh11451.phpt8 ->query('SELECT 1 AS key, 2 AS key')
12 ->query('SELECT 0 AS dummy, 1 AS key, 2 AS key')
/php-src/ext/mysqli/
H A Dmysqli_report.c50 void php_mysqli_report_index(const char *query, unsigned int status) { in php_mysqli_report_index() argument
60 php_mysqli_throw_sql_exception("00000", 0, "%s used in query/prepared statement %s", index, query); in php_mysqli_report_index()
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c622 char *query; in _pdo_pgsql_send_copy_data() local
642 efree(query); in _pdo_pgsql_send_copy_data()
655 char *query; in pgsqlCopyFromArray_internal() local
688 efree(query); in pgsqlCopyFromArray_internal()
689 query = NULL; in pgsqlCopyFromArray_internal()
775 char *query; in pgsqlCopyFromFile_internal() local
812 efree(query); in pgsqlCopyFromFile_internal()
877 char *query; in pgsqlCopyToFile_internal() local
914 efree(query); in pgsqlCopyToFile_internal()
977 char *query; in pgsqlCopyToArray_internal() local
[all …]
/php-src/ext/sqlite3/
H A Dsqlite3.stub.php211 public function prepare(string $query): SQLite3Stmt|false {} argument
214 public function exec(string $query): bool {} argument
217 public function query(string $query): SQLite3Result|false {} argument
220 public function querySingle(string $query, bool $entireRow = false): mixed {} argument
247 private function __construct(SQLite3 $sqlite3, string $query) {} argument
/php-src/ext/mysqli/tests/
H A Dbug36745.phpt18 $mysql->query("DROP TABLE IF EXISTS litest");
19 $mysql->query("CREATE TABLE litest (a VARCHAR(20))");
21 $mysql->query("LOAD DATA LOCAL INFILE 'filenotfound' INTO TABLE litest");
H A D048.phpt17 $mysql->query("DROP TABLE IF EXISTS test_fetch_null");
19 $mysql->query("CREATE TABLE test_fetch_null(col1 tinyint, col2 smallint,
27 …$mysql->query("INSERT INTO test_fetch_null(col1,col10, col11) VALUES(1,'foo1', 1000),(2,'foo2', 88…
40 $mysql->query("DROP TABLE IF EXISTS test_fetch_null");
H A Dbug66043.phpt16 if (!$db->query("DROP TABLE IF EXISTS test")) {
21 if (!$db->query("CREATE TABLE test(str TEXT)")) {
26 if (!$db->query("INSERT INTO test(str) VALUES ('Test')")) {
H A Dbug77956.phpt28 if (!$link->query("DROP TABLE IF EXISTS test")) {
31 …if (!$link->query("CREATE TABLE test (dump1 INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)…
36 if (!$link->query("SELECT 1 FROM DUAL"))
38 if (!$link->query("LOAD DATA LOCAL INFILE 'bug77956.data' INTO TABLE test")) {
53 if (!$link->query('DROP TABLE IF EXISTS test')) {
H A Dbug_bits.phpt17 if (!$link->query("DROP TABLE IF EXISTS bug_bits")) {
21 if (!$link->query("CREATE TABLE `bug_bits` (`inty` bigint(20) unsigned NOT NULL DEFAULT '0', `bitty…
32 if (!$link->query($insertQuery)) {
36 if (!($res = $link->query("SELECT * FROM `bug_bits`"))) {
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_fetch_table_names.phpt20 $stmt = $db->query("SELECT label FROM {$table} LIMIT 1");
26 $stmt = $db->query("SELECT label FROM {$table} LIMIT 1");
36 $db->query('DROP TABLE IF EXISTS pdo_mysql_attr_fetch_table_names');
H A Dpdo_mysql_connect_attr.phpt13 $stmt = $pdo->query("SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='performance…
18 $stmt = $pdo->query("SHOW VARIABLES LIKE 'performance_schema'");
35 …$stmt = $pdo->query("SELECT * FROM performance_schema.session_connect_attrs WHERE ATTR_NAME='_serv…
46 $stmt = $pdo->query("SELECT * FROM performance_schema.session_connect_attrs WHERE ATTR_NAME='_clien…
H A Dpdo_mysql_errorinfo.phpt41 or PDO->query() and invoke an error on the statement handle,
49 $stmt = $db->query("SELECT id, label FROM {$table}");
60 @$stmt = $db->query('SELECT id, label FROM unknown');
64 $stmt = $db->query("SELECT id, label FROM {$table}");
70 @$db->query('SELECT id, label FROM pdo_mysql_errorinfo_unknown');
104 $db->query('DROP TABLE IF EXISTS pdo_mysql_errorinfo');
/php-src/ext/standard/tests/strings/
H A Durl_t.phpt219 ["query"]=>
230 ["query"]=>
241 ["query"]=>
254 ["query"]=>
300 ["query"]=>
379 ["query"]=>
405 ["query"]=>
420 ["query"]=>
431 ["query"]=>
444 ["query"]=>
[all …]
/php-src/ext/pdo_sqlite/tests/
H A Dbug38334.phpt11 var_dump($db->query('SELECT * FROM test_38334')->fetch(PDO::FETCH_ASSOC));
15 $i = $db->query('SELECT i FROM test_38334 WHERE f = 0.0')->fetchColumn(0);
24 var_dump($db->query('SELECT * FROM test_38334 WHERE s = "x"')->fetch(PDO::FETCH_ASSOC));
/php-src/ext/pdo_pgsql/tests/
H A Dbug67462.phpt21 … $pdo->query("CREATE TABLE test67462 (a int NOT NULL PRIMARY KEY DEFERRABLE INITIALLY DEFERRED)");
22 $pdo->query("INSERT INTO test67462 VALUES (1), (1)");
36 $pdo->query("DROP TABLE IF EXISTS test67462");
H A Dbug62479.phpt51 $pdo->query($sql);
53 $result = $testConn->query($testQuery)->fetch();
58 $pdo->query("DROP USER $user");
62 $pdo->query($sql);
65 $result = $testConn->query($testQuery)->fetch();
H A Dbug46274.phpt19 @$db->query("SET bytea_output = 'escape'");
23 $db->query('CREATE TABLE test_one_blob_46274_1 (id SERIAL NOT NULL, blob1 BYTEA)');
51 $res = $db->query("SELECT blob1 from test_one_blob_46274_1");
68 $db->query('DROP TABLE IF EXISTS test_one_blob_46274_1');
/php-src/ext/opcache/tests/
H A Dissue0057.phpt15 function dummy($query) {
17 switch ($query) {
/php-src/ext/pdo/tests/
H A Dpdo_034.phpt24 var_dump($db->query("SELECT a,b FROM test034")->fetch(PDO::FETCH_KEY_PAIR));
25 var_dump($db->query("SELECT a,b FROM test034")->fetchAll(PDO::FETCH_KEY_PAIR));
26 var_dump($db->query("SELECT * FROM test034")->fetch(PDO::FETCH_KEY_PAIR));
27 var_dump($db->query("SELECT a,a FROM test034")->fetchAll(PDO::FETCH_KEY_PAIR));
H A Dpdo_039.phpt34 $query = 'SELECT 1';
36 $query .= ' FROM DUAL';
41 $stmt = $conn->prepare($query);

Completed in 35 milliseconds

12345678910>>...25