/PHP-7.4/ext/pgsql/tests/ |
H A D | 80_bug42783.phpt | 17 pg_query("CREATE TABLE php_test (id SERIAL PRIMARY KEY, time TIMESTAMP NOT NULL DEFAULT now())"); 29 ["id"]=>
|
H A D | 28large_object_import_oid.phpt | 21 if ($oid != 21003) echo ("pg_lo_import() wrong id\n"); 29 if ($oid != 21004) echo ("pg_lo_import() wrong id\n"); 37 if ($oid != 21005) echo ("pg_lo_import() wrong id\n");
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | 009b.phpt | 10 <sxe id="elem1"> 27 ["id"]=>
|
/PHP-7.4/ext/session/tests/ |
H A D | bug60634.phpt | 22 function read($id) { 26 function write($id, $session_data) { 30 function destroy($id) {
|
/PHP-7.4/ext/pdo_oci/tests/ |
H A D | pdo_oci_fread_1.phpt | 22 "create table pdo_oci_fread_tab (id number, data clob)", 26 insert into pdo_oci_fread_tab (id,data) values (1, lob1); 36 $s = $dbh->query("select data from pdo_oci_fread_tab where id = 1");
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | bug48909.phpt | 17 … !$link->query(sprintf("CREATE TABLE test(id INT, label varchar(255)) ENGINE = %s", $engine))) 20 if (!$stmt = $link->prepare("INSERT INTO test(id, label) VALUES (?, ?)")) 30 1366 - Incorrect integer value: '' for column 'id' at row 1
|
H A D | mysqli_use_result.phpt | 24 if (!$res = mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id")) 44 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id"))
|
H A D | mysqli_field_tell.phpt | 23 if (!$res = mysqli_query($link, "SELECT id FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) { 69 string(2) "id" 71 string(2) "id"
|
H A D | mysqli_options_init_command.phpt | 21 !mysqli_query($link, sprintf("CREATE TABLE test(id INT) ENGINE = %s\n", $engine)) || 22 !mysqli_query($link, "INSERT INTO test(id) VALUES (1)")) 25 if (!$res = mysqli_query($link, "SELECT COUNT(id) AS _num_rows FROM test")) 37 if (true !== mysqli_options($link, MYSQLI_INIT_COMMAND, "INSERT INTO test(id) VALUES (2)")) 44 if (!$res = mysqli_query($link, "SELECT COUNT(id) AS _num_rows FROM test"))
|
H A D | mysqli_pam_sha256_public_key_ini.phpt | 81 !$link->query("CREATE TABLE test (id INT)") || 82 !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)")) 104 if (!$res = $link->query("SELECT id FROM test WHERE id = 1")) 111 if ($row['id'] != 1) { 112 printf("[004] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
|
H A D | mysqli_auth_pam.phpt | 85 if (!$link->query("CREATE TABLE test (id INT)") || !$link->query("INSERT INTO test(id) VALUES (1)")) 109 if (!$res = $link->query("SELECT id FROM test WHERE id = 1")) 116 if ($row['id'] != 1) { 117 printf("[004] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
|
H A D | mysqli_fetch_all_oo.phpt | 26 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 34 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 42 if (!$res = $mysqli->query("SELECT * FROM test ORDER BY id LIMIT 2")) { 102 …if (!$link->query($sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(id)) EN… 126 if (!$res = $link->query("SELECT id, label FROM test")) { 351 ["id"]=> 362 ["id"]=> 374 ["id"]=> 381 ["id"]=> 393 ["id"]=> [all …]
|
H A D | bug67983.phpt | 22 mysqli_query($connection, 'CREATE TABLE test (id BIT(8))'); 28 var_dump($result['id']);
|
H A D | mysqli_more_results.phpt | 27 …ulti_query($link, "SELECT 1 AS a; SELECT 1 AS a, 2 AS b; SELECT id FROM test ORDER BY id LIMIT 3")) 41 …ulti_query($link, "SELECT 1 AS a; SELECT 1 AS a, 2 AS b; SELECT id FROM test ORDER BY id LIMIT 3"))
|
/PHP-7.4/ext/sysvmsg/tests/ |
H A D | 005.phpt | 14 $id = ftok(__FILE__, chr(mt_rand(0, 255))); 15 } while (msg_queue_exists($id)); 17 $q = msg_get_queue($id) or die("Failed to create queue"); 41 Using 'Resource id #4' as queue resource:
|
/PHP-7.4/ext/pdo/tests/ |
H A D | pdo_029.phpt | 64 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))'); 100 ["id"]=> 108 ["id"]=> 116 ["id"]=>
|
H A D | pdo_030.phpt | 62 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))'); 114 ["id"]=> 122 ["id"]=> 130 ["id"]=>
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_errorcode.phpt | 38 $stmt = $db->query('SELECT id, label FROM test'); 50 @$stmt = $db->query('SELECT id, label FROM unknown'); 54 $stmt = $db->query('SELECT id, label FROM test'); 59 @$db->query('SELECT id, label FROM unknown');
|
H A D | pdo_mysql_exec_select.phpt | 40 …exec_and_count(3, $db, sprintf('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, col1 CHAR(10)) ENGI… 41 exec_and_count(4, $db, "INSERT INTO test(id, col1) VALUES (1, 'a')", 1); 45 exec_and_count(5, $db, 'SELECT id FROM test', 0); 46 exec_and_count(6, $db, "INSERT INTO test(id, col1) VALUES (2, 'b')", 1); 64 [006] Expecting '1'/integer got ''/boolean when running 'INSERT INTO test(id, col1) VALUES (2, 'b')…
|
H A D | pdo_mysql_rollback.phpt | 23 $db->query("INSERT INTO test(id, label) VALUES (100, 'z')"); 36 $db->query("INSERT INTO test(id, label) VALUES (100, 'z')"); 38 $db->query('CREATE TABLE test2(id INT)'); 48 $db->query('CREATE TABLE test2(id INT) ENGINE=MyISAM'); 50 $db->query('INSERT INTO test2(id) VALUES (1)');
|
H A D | pdo_mysql_types_zerofill.phpt | 16 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE… 23 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)'); 38 $stmt = $db->query('SELECT id, label FROM test'); 41 if (!isset($row['id']) || !isset($row['label'])) { 46 if ($row['id'] != $offset) { 47 printf("[%03d + 3] Expecting %s got %s\n", $offset, $row['id']); 78 $stmt = $db->query('SELECT id, label FROM test');
|
/PHP-7.4/ext/sqlite3/tests/ |
H A D | sqlite3_prepare_faultystmt.phpt | 11 $db->exec('CREATE TABLE foo (id INTEGER, bar STRING)'); 12 $db->exec("INSERT INTO foo (id, bar) VALUES (1, 'This is a test')");
|
H A D | sqlite3_16_select_no_results.phpt | 12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)')); 15 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
/PHP-7.4/ext/xmlwriter/tests/ |
H A D | xmlwriter_write_attribute_ns_basic_001.phpt | 11 xmlwriter_write_attribute_ns($xw, 'prefix', 'id', 'http://www.php.net/uri', 'elem1'); 25 <root prefix:id="elem1" xmlns:prefix="http://www.php.net/uri">
|
/PHP-7.4/ext/oci8/tests/ |
H A D | define2.phpt | 15 "create table phptestrawtable( id number(10), fileimage raw(1000))" 20 $stmt = oci_parse ($c, "insert into phptestrawtable (id, fileimage) values (:id, :fileimage)"); 26 oci_bind_by_name( $stmt, ":id", $i, -1);
|