/php-src/ext/sqlite3/tests/ |
H A D | exception_from_toString.phpt | 33 $query = $db->query("SELECT * FROM t"); 34 while ($row = $query->fetchArray(SQLITE3_ASSOC)) {
|
H A D | sqlite3_enable_exceptions.phpt | 14 $db->query("SELECT * FROM non_existent_table"); 19 $db->query("SELECT * FROM non_existent_table"); 31 Warning: SQLite3::query(): no such table: non_existent_table in %s on line %d
|
/php-src/ext/dom/tests/ |
H A D | bug55700.phpt | 13 echo($xp->query('//prefix:root')->length . "\n"); 18 echo($xp->query('//prefix:root')->length . "\n"); 25 echo($xp->query('//prefix:root')->length . "\n");
|
H A D | registerPhpFunctionNS.phpt | 34 var_dump($xpath->query('//a[foo:strtolower(string(@href)) = "https://php.net"]')); 39 var_dump($xpath->query('//a[foo:strtolower(string(@href)) = "https://php.net"]')); 44 var_dump($xpath->query('//a[foo:test(string(@href)) = "https://php.net"]')); 50 var_dump($xpath->query('//a[foo:test(string(@href))]')); 56 $xpath->query('//a[foo:test(string(@href))]'); 62 var_dump($xpath->query('//a[bar:test(string(@href)) = "https://php.net"]'));
|
H A D | DOMNode_C14N_basic.phpt | 32 var_dump($node->C14N(false, false, ['query' => []])); 39 DOMNode::C14N(): Argument #3 ($xpath) must have a "query" key 40 DOMNode::C14N(): Argument #3 ($xpath) "query" option must be a string, array given
|
H A D | bug75451.phpt | 2 Bug #75451 (Assertion fails while foreach on empty xpath query) 10 foreach($xpath->query('/root/noexist') as $child) {
|
/php-src/ext/pgsql/tests/ |
H A D | bug47199.phpt | 23 $query = pg_delete($dbh, $tbl_name, array('null_field' => NULL,'not_null_field' => 2), PGSQL_DML_ST… 25 echo $query, "\n"; 27 $query = pg_update($dbh, $tbl_name, array('null_field' => NULL, 'not_null_field' => 0), array('not_… 29 echo $query, "\n";
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug66141.phpt | 2 Bug #66141 (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query) 19 $db->query('set session sql_mode="NO_BACKSLASH_ESCAPES"'); 25 $db->query('something that throws an exception'); 35 Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in…
|
H A D | bug79596.phpt | 20 $pdo->query('CREATE TABLE bug79596 (broken FLOAT(2,1))'); 21 $pdo->query('INSERT INTO bug79596 VALUES(4.9)'); 22 var_dump($pdo->query('SELECT broken FROM bug79596')->fetchColumn(0));
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | bug81468.phpt | 18 echo "/n:foo/bar -> ", count($xpath->query('/n:foo/bar')), "\n"; 19 echo "/n:foo/n:bar -> ", count($xpath->query('/n:foo/n:bar')), "\n"; 28 echo "/n:foo/bar -> ", count($xpath->query('/n:foo/bar')), "\n"; 29 echo "/n:foo/n:bar -> ", count($xpath->query('/n:foo/n:bar')), "\n";
|
/php-src/ext/mysqli/tests/ |
H A D | bug68077.phpt | 32 if (!$link->query("DROP TABLE IF EXISTS test")) { 36 …if (!$link->query("CREATE TABLE test (dump1 INT UNSIGNED NOT NULL PRIMARY KEY) ENGINE=" . $engine)… 43 if (!$link->query("SELECT 1 FROM DUAL")) 46 …if (!$link->query("LOAD DATA LOCAL INFILE '" . str_replace("\\", "/", __DIR__) . "/bug53503.data'… 54 if (!$link->query("LOAD DATA LOCAL INFILE '" . __DIR__ . "/bug53503.data' INTO TABLE test")) { 71 if (!$link->query($link, 'DROP TABLE IF EXISTS test')) {
|
H A D | mysqli_stmt_datatype_change.phpt | 23 $c1->query("use $db"); 24 $c2->query("use $db"); 25 $c1->query("drop table if exists type_change"); 26 $c1->query("create table type_change(a int, b char(10)) ENGINE = " . $engine); 27 $c1->query("insert into type_change values (1, 'one'), (2, 'two')"); 41 var_dump($c2->query("alter table type_change drop a"));
|
H A D | bug33491.phpt | 16 public function query_single($query) { 17 $result = parent::query($query);
|
H A D | bug80837.phpt | 16 $mysqli->query('DROP TABLE IF EXISTS test'); 17 $mysqli->query('CREATE TABLE test (b int)'); 18 $mysqli->query('INSERT INTO test VALUES (1),(2),(3)');
|
H A D | gh9841.phpt | 18 $mysqli->query("SELECT ( 24 $mysqli->query("SELECT ( 42 $mysqli->query("SELECT ( 51 $mysqli->query("SELECT (
|
H A D | bug77935.phpt | 15 $db->query('DROP PROCEDURE IF EXISTS testSp'); 16 $db->query(<<<'SQL' 39 $link->query('DROP PROCEDURE IF EXISTS testSp');
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_tostring_exception.phpt | 37 $query = $db->query("SELECT * FROM t"); 38 while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
|
H A D | bug46139.phpt | 19 $stmt = $db->query("SELECT 'foo' test_prop, 1"); 24 $stmt = $db->query("SELECT 'foo' test_prop, 1"); 29 $stmt = $db->query("SELECT 'foo' test_prop, 1");
|
/php-src/ext/pdo_firebird/tests/ |
H A D | bug_76452.phpt | 22 $query = $dbh->prepare("SELECT * FROM test76452"); 23 $query->execute(); 24 var_dump($query->fetch());
|
/php-src/ext/pdo_sqlite/tests/subclasses/ |
H A D | pdo_sqlite_createfunction_with_flags.phpt | 13 $db->query('CREATE TABLE test_pdo_sqlite_createfunction_with_flags (id INT AUTO INCREMENT, name TEX… 14 $db->query('INSERT INTO test_pdo_sqlite_createfunction_with_flags VALUES (NULL, "PHP"), (NULL, "PHP… 18 foreach ($db->query('SELECT testing(name) FROM test_pdo_sqlite_createfunction_with_flags') as $row)…
|
/php-src/ext/dom/tests/compareDocumentPosition/ |
H A D | element_order_same_depth.phpt | 28 $query = $xpath->query("//p"); 29 $foo = $query->item(0); 30 $bar = $query->item(1);
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug66584.phpt | 20 $pdo->query("CREATE TABLE test66584 (a int)"); 21 $pdo->query("INSERT INTO test66584 VALUES (165)"); 40 $pdo->query("DROP TABLE test66584"); 63 $pdo->query("DROP TABLE IF EXISTS test66584");
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug80672.phpt | 9 $query = $soap->query(array('sXML' => 'something'));
|
/php-src/ext/pdo_dblib/tests/ |
H A D | bug_47588.phpt | 15 $db->query('CREATE TABLE "Test Table47588" ("My Field" int, "Another Field" varchar(32) not null de… 16 $db->query('INSERT INTO "Test Table47588" ("My Field") values(1), (2), (3)'); 17 $rs = $db->query('SELECT * FROM "Test Table47588"');
|
/php-src/ext/pdo_odbc/tests/ |
H A D | pdoodbc_001.phpt | 17 $db->query("CREATE TABLE pdoodbc_001 (id INT, name TEXT)"); 18 $db->query("INSERT INTO pdoodbc_001 VALUES (NULL, 'PHP'), (NULL, 'PHP6')"); 20 foreach ($db->query('SELECT name FROM pdoodbc_001') as $row) {
|