Home
last modified time | relevance | path

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

12345678910>>...24

/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/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 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 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 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`"))) {
H A D066.phpt19 $mysql->query("DROP TABLE IF EXISTS test_warnings");
21 $mysql->query("CREATE TABLE test_warnings (a int not null) ENGINE=myisam");
23 $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
H A Dmysqli_local_infile_directory_access_allowed.phpt31 if (!$link->query("DROP TABLE IF EXISTS test")) {
35 if (!$link->query("CREATE TABLE test (id INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)) {
40 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) {
45 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) {
74 if (!$link->query('DROP TABLE IF EXISTS test')) {
/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_pgsql/tests/
H A Dbug62479.phpt52 $pdo->query($sql);
54 $result = $testConn->query($testQuery)->fetch();
59 $pdo->query("DROP USER $user");
63 $pdo->query($sql);
66 $result = $testConn->query($testQuery)->fetch();
H A Dbug67462.phpt22 … $pdo->query("CREATE TABLE test67462 (a int NOT NULL PRIMARY KEY DEFERRABLE INITIALLY DEFERRED)");
23 $pdo->query("INSERT INTO test67462 VALUES (1), (1)");
37 $pdo->query("DROP TABLE IF EXISTS test67462");
H A Dbug46274.phpt20 @$db->query("SET bytea_output = 'escape'");
24 $db->query('CREATE TABLE test_one_blob_46274_1 (id SERIAL NOT NULL, blob1 BYTEA)');
52 $res = $db->query("SELECT blob1 from test_one_blob_46274_1");
69 $db->query('DROP TABLE IF EXISTS test_one_blob_46274_1');
/php-src/ext/dom/tests/
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/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/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);
/php-src/ext/mbstring/tests/
H A Dmb_parse_str_multi.phpt25 foreach ($queries as $query) {
26 echo "Query: " . bin2hex($query) . "\n";
29 mb_parse_str($query, $array);
/php-src/ext/dom/tests/modern/xml/
H A Dxpath_query_context_in_scope_ns.phpt2 Test DOM\XPath::query() with registering a context node's in-scope namespaces
8 function dump($xpath, $query, $context) {
9 echo "--- $query ---\n";
10 $nodes = $xpath->query($query, $context);
/php-src/ext/standard/tests/url/
H A Dbug68917.phpt14 [query] => a=b
21 [query] => a=b

Completed in 29 milliseconds

12345678910>>...24