/php-src/ext/dom/tests/ |
H A D | bug69373.phpt | 2 Bug #69373 References to deleted XPath query results 11 $all = $xpath->query('//*');
|
H A D | c14n_no_nodeset_returned.phpt | 10 $dom->documentElement->C14N(true, false, ['query' => 'string(./root/text())']); 16 XPath query did not return a nodeset
|
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/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/ |
H A D | mysqli_report.c | 50 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 D | pgsql_driver.c | 622 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 D | sqlite3.stub.php | 211 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 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 | 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 | 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 | 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`"))) {
|
/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_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/pdo_pgsql/tests/ |
H A D | bug67462.phpt | 21 … $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 D | bug62479.phpt | 51 $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 D | bug46274.phpt | 19 @$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 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);
|