/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_begintransaction.phpt | 36 if (!($stmt = $db->query('SELECT id, label FROM test ORDER BY id ASC'))) 54 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id'])))) 64 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id'])))) 73 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id'])))) 95 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id'])))) 106 if (!($stmt = $db->query('SELECT @@autocommit as auto_commit'))) 117 if (!($stmt = $db->query('SELECT @@autocommit as auto_commit')))
|
H A D | pdo_mysql_attr_statement_class.phpt | 82 $stmt = $db->query('SELECT id, label FROM test ORDER BY id ASC LIMIT 2'); 92 $stmt = $db->query('SELECT id, label FROM test ORDER BY id ASC LIMIT 2'); 98 $stmt = $db->query('SELECT id, label FROM test ORDER BY id ASC LIMIT 1'); 106 $stmt = $db->query('SELECT id, label FROM test ORDER BY id ASC LIMIT 1'); 157 #0 %s(%d): PDO->query('SELECT id, labe...')
|
H A D | bug54929.phpt | 18 function testQuery($query) { 20 $stmt = $pdodb->prepare($query);
|
H A D | pdo_mysql_prepare_load_data.phpt | 11 $stmt = $db->query('SELECT USER() as _user'); 19 $stmt = $db->query("SHOW VARIABLES LIKE 'secure_file_priv'"); 74 $stmt = $db->query("SHOW VARIABLES LIKE 'secure_file_priv'"); 96 $stmt = $db->query("SELECT 1 as 'one'");
|
H A D | pdo_mysql_attr_case.phpt | 29 …if (!is_object($stmt = $db->query("SELECT id, id AS 'ID_UPPER', label FROM test ORDER BY id ASC LI… 51 …if (!is_object($stmt = $db->query("SELECT id, id AS 'ID_UPPER', label, MiXeD, MYUPPER FROM test OR… 65 …if (!is_object($stmt = $db->query("SELECT id, label, MiXeD, MYUPPER, MYUPPER AS 'lower' FROM test … 79 …if (!is_object($stmt = $db->query("SELECT id, label, MiXeD, MYUPPER, id AS 'ID' FROM test ORDER BY…
|
H A D | show_tables.phpt | 15 print_r($db->query('SHOW TABLES'));
|
/PHP-7.3/Zend/tests/ |
H A D | bug70914.phpt | 13 $st = $db->query('SELECT 1');
|
/PHP-7.3/ext/dom/tests/ |
H A D | bug49490.phpt | 13 echo($xp->query('//prefix:root', null, false)->length . "\n");
|
H A D | canonicalization.phpt | 36 /* exclusive/without comments using xpath query. */ 37 echo $doc->c14N(TRUE, FALSE, array('query'=>'(//. | //@* | //namespace::*)'))."\n\n"; 40 using xpath query with registered namespace. 43 array('query'=>'(//a:contain | //a:bar | .//namespace::*)',
|
/PHP-7.3/ext/pdo_pgsql/tests/ |
H A D | copy_from.phpt | 43 $stmt = $db->query("select * from test"); 52 $stmt = $db->query("select * from test"); 61 $stmt = $db->query("select * from test"); 80 $stmt = $db->query("select * from test"); 89 $stmt = $db->query("select * from test"); 98 $stmt = $db->query("select * from test");
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_get_warnings.phpt | 90 if (!$mysqli->query("DROP TABLE IF EXISTS t1")) 93 if (!$mysqli->query("CREATE TABLE t1 (a smallint)")) 102 if (!$mysqli->query("DROP TABLE t1")) 119 if (!$mysqli->query("DROP TABLE IF EXISTS t1")) 122 if (!$mysqli->query("CREATE TABLE t1 (a smallint)")) 126 if (!$mysqli->query("INSERT IGNORE INTO t1(a) VALUES (65536), (65536), (65536)"))
|
H A D | bug36949.phpt | 18 $result = $this->mysqli->query("SELECT NOW() AS my_time FROM DUAL"); 36 $result = $this->mysqli->query("SELECT NOW() AS my_time FROM DUAL");
|
H A D | mysqli_send_query.phpt | 34 $query = array(); 35 if (NULL !== ($tmp = @mysqli_send_query($link, $query)))
|
H A D | bug30967.phpt | 20 $mysql->query("THIS DOES NOT WORK");
|
/PHP-7.3/ext/oci8/tests/ |
H A D | pecl_bug8816.phpt | 45 $query =" 55 $sth = oci_parse($c, $query);
|
H A D | bug38173.phpt | 40 $query =" 48 $sth = oci_parse($c, $query);
|
H A D | bug51291_2.phpt | 13 echo "\nTest 1 - Execute - after successful 2nd query with same statement\n"; 37 Test 1 - Execute - after successful 2nd query with same statement
|
H A D | bug51291_1.phpt | 67 echo "\nTest 6 - Execute - after successful 2nd query with new handle\n"; 86 echo "\nTest 7 - Execute - after successful 2nd query with same handle\n"; 105 echo "\nTest 8 - Execute - after unsuccessful 2nd query with new handle\n"; 123 echo "\nTest 9 - Execute - after unsuccessful 2nd query with same handle\n"; 277 Test 6 - Execute - after successful 2nd query with new handle 306 Test 7 - Execute - after successful 2nd query with same handle 325 Test 8 - Execute - after unsuccessful 2nd query with new handle 365 Test 9 - Execute - after unsuccessful 2nd query with same handle
|
/PHP-7.3/ext/simplexml/tests/ |
H A D | bug48601.phpt | 2 Bug #48601 (xpath() returns FALSE for legitimate query)
|
/PHP-7.3/ext/standard/ |
H A D | url.c | 53 if (theurl->query) in php_url_free() 54 zend_string_release_ex(theurl->query, 0); in php_url_free() 322 ret->query = zend_string_init(p, (e - p), 0); in php_url_parse_ex2() 323 php_replace_controlchars_ex(ZSTR_VAL(ret->query), ZSTR_LEN(ret->query)); in php_url_parse_ex2() 381 if (resource->query != NULL) RETVAL_STR_COPY(resource->query); in PHP_FUNCTION() 421 if (resource->query != NULL) { in PHP_FUNCTION() 422 ZVAL_STR_COPY(&tmp, resource->query); in PHP_FUNCTION()
|
/PHP-7.3/ext/standard/tests/url/ |
H A D | bug73192.phpt | 28 ["query"]=>
|
/PHP-7.3/sapi/tests/ |
H A D | test003.phpt | 4 This would be similar to what IIS produces for a simple query
|
/PHP-7.3/ext/pdo/tests/ |
H A D | pdo_013.phpt | 42 foreach ($db->query($SELECT, PDO::FETCH_CLASS, 'Test') as $data) 49 $stmt = $db->query($SELECT, PDO::FETCH_CLASS, 'Test', array('WOW'));
|
/PHP-7.3/ext/pdo_oci/tests/ |
H A D | bug46274_2.phpt | 25 $db->query('CREATE TABLE test_one_blob (id INT NOT NULL, blob1 BLOB)'); 49 $res = $db->query("SELECT blob1 from test_one_blob");
|
/PHP-7.3/ext/pdo_sqlite/tests/ |
H A D | bug79664.phpt | 12 $stmt = $pdo->query('select 1 where 0');
|