Home
last modified time | relevance | path

Searched refs:query (Results 76 – 100 of 576) sorted by relevance

12345678910>>...24

/php-src/ext/dom/tests/compareDocumentPosition/
H A Delement_order_different_depth.phpt24 $query = $xpath->query("//p");
25 $foo = $query->item(0);
26 $bar = $query->item(1);
/php-src/ext/pdo_mysql/tests/
H A Dbug76815.phpt20 $pdo->query("CREATE FUNCTION {$func}() RETURNS VARCHAR(5) DETERMINISTIC BEGIN RETURN 'x12345'; END"…
21 $pdo->query("CREATE PROCEDURE {$procedure}() BEGIN SELECT {$func}(); END");
36 $pdo->query('DROP FUNCTION IF EXISTS bug76815_pdo_mysql_f');
37 $pdo->query('DROP PROCEDURE IF EXISTS bug76815_pdo_mysql_p');
H A Dpdo_mysql_errorcode.phpt29 or PDO->query() and invoke an error on the statement handle,
37 $stmt = $db->query("SELECT id, label FROM {$table}");
49 @$stmt = $db->query('SELECT id, label FROM pdo_mysql_errorcode_unknown');
53 $stmt = $db->query("SELECT id, label FROM {$table}");
58 @$db->query('SELECT id, label FROM pdo_mysql_errorcode_unknown');
83 $db->query('DROP TABLE IF EXISTS pdo_mysql_errorcode');
H A Dpdo_mysql_fetch_both.phpt15 function fetch($offset, &$db, $query, $expect = null) {
17 $stmt = $db->query('SELECT 1');
20 $stmt = $db->query('SELECT 1');
23 $stmt = $db->query('SELECT 1');
H A Dpdo_mysql_stmt_closecursor.phpt25 $stmt1 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC");
26 // query() shall fail!
27 $stmt2 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC");
32 $stmt1 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC");
36 $stmt1 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC");
59 $stmt1 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC");
61 $stmt2 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC");
64 $stmt1 = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC");
159query(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered querie…
164query(): SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered querie…
[all …]
/php-src/ext/dom/tests/
H A Dxpath_domnamespacenode_advanced.phpt2 DOMXPath::query() can return DOMNodeList with DOMNameSpaceNode items - advanced variation
16 $query = '//namespace::*';
20 foreach ($xpath->query($query) as $attribute) {
27 foreach ($xpath->query($query) as $attribute) {
H A DDOMXPath_constructor_registered_functions.phpt38 $xpath->query('//*[foo:test()]');
40 $xpath->query('//*[foo:test()]');
49 Warning: DOMXPath::query(): xmlXPathCompOpEval: function test not found in %s on line %d
51 Warning: DOMXPath::query(): Unregistered function in %s on line %d
H A Dbug55700.phpt13 echo($xp->query('//prefix:root')->length . "\n");
18 echo($xp->query('//prefix:root')->length . "\n");
25 echo($xp->query('//prefix:root')->length . "\n");
/php-src/ext/mysqli/tests/
H A Dbug66124.phpt31 $link->query($table_drop);
32 $link->query($table_create);
51 $result = $link->query($table_select);
64 $link->query($table_drop);
65 $link->query($table_create);
80 $result = $link->query($table_select);
H A D067.phpt21 function open_cursor($mysql, $query) {
22 if (!is_object($stmt = $mysql->prepare($query))) {
24 $query, $mysql->errno, $mysql->error);
42 $mysql->query("DROP TABLE IF EXISTS cursor$i");
43 $mysql->query("CREATE TABLE cursor$i (a int not null) ENGINE=" . $engine);
44 $mysql->query("INSERT INTO cursor$i VALUES (1),(2),(3),(4),(5),(6)");
H A Dbug77597.phpt15 $mysqli->query('DROP TABLE IF EXISTS test');
16 $mysqli->query('CREATE TABLE test (b int)');
17 $mysqli->query('INSERT INTO test VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9)');
H A Dmysqli_next_result_error.phpt2 Error in multi query
31 $mysqli->query("DROP PROCEDURE IF EXISTS p");
32 $mysqli->query('CREATE PROCEDURE p() READS SQL DATA BEGIN SELECT 1; SELECT foobar FROM table_that_d…
48 $mysqli->query("DROP PROCEDURE IF EXISTS p");
/php-src/ext/pgsql/tests/
H A Dgh13354.phpt14 $query = 'SELECT $1::text IS NULL;';
18 pg_prepare($db, 'test', $query);
33 $res = pg_query_params($db, $query, $params_null);
37 $res = pg_query_params($db, $query, $params_null_by_ref);
43 $res = pg_send_query_params($db, $query, $params_null);
49 $res = pg_send_query_params($db, $query, $params_null_by_ref);
H A Dbug47199.phpt23 $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_sqlite/tests/
H A Dpdo_sqlite_createfunction.phpt10 $db->query('CREATE TABLE test_pdo_sqlite_createfunction (id INT AUTO INCREMENT, name TEXT)');
12 $db->query('INSERT INTO test_pdo_sqlite_createfunction VALUES (NULL, "PHP"), (NULL, "PHP6")');
18 foreach ($db->query('SELECT testing(name) FROM test_pdo_sqlite_createfunction') as $row) {
H A Dpdo_sqlite_createfunction_with_flags.phpt14 $db->query('CREATE TABLE test_pdo_sqlite_createfunction_with_flags (id INT AUTO INCREMENT, name TEX…
16 $db->query('INSERT INTO test_pdo_sqlite_createfunction_with_flags VALUES (NULL, "PHP"), (NULL, "PHP…
22 foreach ($db->query('SELECT testing(name) FROM test_pdo_sqlite_createfunction_with_flags') as $row)…
/php-src/ext/pdo/tests/
H A Dpdo.inc3 function set_sql($name, $query)
7 $GLOBALS['SQL'][$name] = $query;
/php-src/ext/standard/tests/url/
H A Dparse_url_basic_001.phpt144 ["query"]=>
155 ["query"]=>
166 ["query"]=>
179 ["query"]=>
225 ["query"]=>
304 ["query"]=>
330 ["query"]=>
345 ["query"]=>
356 ["query"]=>
369 ["query"]=>
[all …]
H A Dparse_url_unterminated.phpt150 ["query"]=>
161 ["query"]=>
172 ["query"]=>
185 ["query"]=>
231 ["query"]=>
310 ["query"]=>
336 ["query"]=>
351 ["query"]=>
362 ["query"]=>
375 ["query"]=>
[all …]
/php-src/ext/pdo_sqlite/tests/subclasses/
H A Dpdo_sqlite_createaggregate.phpt11 $db->query('CREATE TABLE test_pdo_sqlite_createaggregate (id INT AUTO INCREMENT, name TEXT)');
13 $db->query('INSERT INTO test_pdo_sqlite_createaggregate VALUES (NULL, "PHP"), (NULL, "PHP6")');
17 foreach ($db->query('SELECT testing(name) FROM test_pdo_sqlite_createaggregate') as $row) {
H A Dpdo_sqlite_createcollation_trampoline.phpt10 $db->query('CREATE TABLE test_pdo_sqlite_createcollation_trampoline (s VARCHAR(4))');
12 $stmt = $db->query('INSERT INTO test_pdo_sqlite_createcollation_trampoline VALUES ("a1"), ("a10"), …
24 foreach ($db->query('SELECT s FROM test_pdo_sqlite_createcollation_trampoline ORDER BY s') as $row)…
29 foreach ($db->query('SELECT s FROM test_pdo_sqlite_createcollation_trampoline ORDER BY s COLLATE NA…
/php-src/ext/sqlite3/tests/
H A Dsqlite3_38_extended_error.phpt10 $db->query("CREATE TABLE dog ( id INTEGER PRIMARY KEY, name TEXT, annoying INTEGER )");
13 $result = $db->query("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
17 $result = $db->query("INSERT INTO dog VALUES (1, 'Annoying Dog', 1)");
30 Warning: SQLite3::query(): Unable to execute statement: UNIQUE constraint failed: dog.id in %s on l…
H A Dexception_from_toString.phpt33 $query = $db->query("SELECT * FROM t");
34 while ($row = $query->fetchArray(SQLITE3_ASSOC)) {
H A Dsqlite3_enable_exceptions.phpt14 $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/modern/html/parser/
H A DHTMLDocument_fromString_line_column.phpt27 foreach ($xpath->query("//*") as $element) {
31 foreach ($xpath->query("//*[name()='strong']") as $element) {
35 foreach ($xpath->query("//*[name()='div']") as $element) {
41 foreach ($xpath->query("//comment()") as $comment) {

Completed in 29 milliseconds

12345678910>>...24