/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/mysqli/tests/ |
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')) {
|
H A D | 074.phpt | 17 $result = $mysqli->query("SELECT @@autocommit"); 21 $result = $mysqli->query("SELECT @@autocommit");
|
H A D | bug70949.phpt | 14 $mysql->query("DROP TABLE IF EXISTS bug70949"); 15 $mysql->query("CREATE TABLE bug70949(name varchar(255))"); 16 $mysql->query("INSERT INTO bug70949 VALUES ('dummy'),(NULL),('foo'),('bar')");
|
H A D | mysqli_commit_oo.phpt | 35 if (!$mysqli->query('DROP TABLE IF EXISTS test')) { 39 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) { 43 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)')) { 52 if (!$mysqli->query('ROLLBACK')) 55 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test')) { 65 if (!$mysqli->query('DROP TABLE IF EXISTS test')) {
|
H A D | mysqli_errno_oo.phpt | 23 if (!$mysqli->query('DROP TABLE IF EXISTS test')) { 27 $mysqli->query('SELECT * FROM test'); 30 @$mysqli->query('No SQL');
|
H A D | bug74021.phpt | 15 $link->query('SET @@global.max_allowed_packet = 67108864'); 19 $res = $link->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b");
|
H A D | bug73800.phpt | 16 $link->query('SET @@global.max_allowed_packet = 67108864'); 22 $res = $link->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b, 9223372036854775…
|
H A D | mysqli_local_infile_directory_access_denied.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")) { 58 if (!$link->query('DROP TABLE IF EXISTS test')) {
|
/php-src/ext/standard/tests/url/ |
H A D | bug68917.phpt | 14 [query] => a=b 21 [query] => a=b
|
/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/pdo_mysql/tests/ |
H A D | bug71145.phpt | 2 Bug #71145: Multiple statements in init command triggers unbuffered query error 21 var_dump($pdo->query('SELECT 42')->fetchColumn(0));
|
H A D | bug_38546.phpt | 20 $query = "CREATE TABLE test_38546( 26 $db->exec($query); 49 foreach ($db->query('SELECT * FROM test_38546') as $row) { 75 foreach ($db->query('SELECT * FROM test_38546') as $row) { 101 foreach ($db->query('SELECT * FROM test_38546') as $row) { 128 foreach ($db->query('SELECT * FROM test_38546') as $row) { 155 foreach ($db->query('SELECT * FROM test_38546') as $row) { 182 foreach ($db->query('SELECT * FROM test_38546') as $row) {
|
H A D | bug53782.phpt | 17 $res = $conn->query('SELECT 0'); 20 $conn->query('ERROR');
|
H A D | bug70066.phpt | 18 $db = $pdo->query('SELECT DATABASE()')->fetchColumn(0); 21 $pdo->query('USE ' . $db);
|
H A D | bug66528.phpt | 21 $stmt = $dbh->query('SELECT * FROM test_66528'); 49 …ely, if your code is only ever going to run against mysql, you may enable query buffering by setti… 50 …ely, if your code is only ever going to run against mysql, you may enable query buffering by setti… 51 …ely, if your code is only ever going to run against mysql, you may enable query buffering by setti…
|
/php-src/ext/pdo_dblib/tests/ |
H A D | bug_54648.phpt | 14 $db->query('set dateformat ymd'); 15 $rs = $db->query("select cast('1950-01-18 23:00:00' as smalldatetime) as sdt, cast('2030-01-01 23:5…
|
/php-src/ext/pdo_firebird/tests/ |
H A D | error_handle.phpt | 18 $dbh->query("CREATE TABLE {$table} (val int)"); 21 $dbh->query("INSERT INTO {$table} VALUES ('str')"); 40 Warning: PDO::query(): SQLSTATE[22018]: Invalid character value for cast specification: -413 conver…
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | gh15287.phpt | 41 $stmt1 = $pdo->query($reqOf3); 42 $stmt2 = $pdo->query("select * from ($reqOf3) t order by n desc"); 96 [ 'query', 'fetch' ], 97 [ 'query', 'fetchAll' ], 103 case 'query': 104 $stmt = $pdo->query($reqOf3); 134 display($pdo->query("select * from t2")->fetchAll()); 157 === with query / fetch === 161 === with query / fetchAll ===
|
H A D | pdo_pgsql_parser.phpt | 17 $query = <<<'EOF' 29 $stmt = $db->prepare($query); 37 $query = <<<'EOF' 41 $stmt = $db->prepare($query);
|
H A D | bug70861.phpt | 19 @$db->query("SET bytea_output = 'escape'"); 23 $db->query('CREATE TABLE test70861 (id SERIAL NOT NULL, blob1 BYTEA)'); 48 $db->query('DROP TABLE IF EXISTS test70861 CASCADE');
|
/php-src/ext/pdo_sqlite/tests/subclasses/ |
H A D | pdo_sqlite_createaggregate_trampoline.phpt | 10 $db->query('CREATE TABLE test_pdo_sqlite_createaggregate_trampoline (a INTEGER, b INTEGER)'); 12 $stmt = $db->query('INSERT INTO test_pdo_sqlite_createaggregate_trampoline VALUES (1, -1), (2, -2),… 32 foreach ($db->query('SELECT S(a), S(b) FROM test_pdo_sqlite_createaggregate_trampoline') as $row) {
|
/php-src/ext/dom/tests/ |
H A D | gh11347.phpt | 2 GH-11347 (Memory leak when calling a static method inside an xpath query) 20 $xpath->query("//a[php:function('MyClass::dump', string(@href))]");
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug35336.phpt | 14 $a->query ("CREATE TABLE test_35336 (a integer primary key, b text)"); 17 $rez = $a->query ("SELECT * FROM test_35336")->fetchAll(PDO::FETCH_CLASS, 'EEE');
|