/php-src/ext/sqlite3/tests/ |
H A D | bug81742.phpt | 10 $db->query("ATTACH 'file:..%2ffoo.php' as db2;"); 13 Warning: SQLite3::query(): not authorized in %s on line %d
|
H A D | gh11451.phpt | 8 ->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 D | bug36745.phpt | 18 $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 D | 048.phpt | 17 $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 D | bug77956.phpt | 28 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 D | bug66043.phpt | 16 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 D | bug_bits.phpt | 17 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 D | 066.phpt | 19 $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 D | mysqli_local_infile_directory_access_allowed.phpt | 31 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 D | pdo_mysql_attr_fetch_table_names.phpt | 20 $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 D | pdo_mysql_connect_attr.phpt | 13 $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 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 {$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 D | url_t.phpt | 219 ["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 D | bug62479.phpt | 52 $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 D | bug67462.phpt | 22 … $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 D | bug46274.phpt | 20 @$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 D | DOMNode_C14NFile_basic.phpt | 34 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 D | gh13960.phpt | 2 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 D | bug38334.phpt | 11 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 D | issue0057.phpt | 15 function dummy($query) { 17 switch ($query) {
|
/php-src/ext/pdo/tests/ |
H A D | pdo_034.phpt | 24 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 D | pdo_039.phpt | 34 $query = 'SELECT 1'; 36 $query .= ' FROM DUAL'; 41 $stmt = $conn->prepare($query);
|
/php-src/ext/mbstring/tests/ |
H A D | mb_parse_str_multi.phpt | 25 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 D | xpath_query_context_in_scope_ns.phpt | 2 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 D | bug68917.phpt | 14 [query] => a=b 21 [query] => a=b
|