Home
last modified time | relevance | path

Searched refs:id (Results 326 – 350 of 800) sorted by relevance

1...<<11121314151617181920>>...32

/PHP-7.4/ext/pdo/tests/
H A Dpdo_035.phpt10 $db->exec('CREATE TABLE test (id int)');
13 $stmt = $db->prepare('SELECT id FROM test');
H A Dbug_43130.phpt31 $stmt = $db->prepare("SELECT a FROM test WHERE b=:id-value");
32 $stmt->bindParam(':id-value', $id);
33 $id = '1';
H A Dpdo_026.phpt58 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))');
86 ["id"]=>
94 ["id"]=>
102 ["id"]=>
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_object_no_object.phpt12 … if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 5")) {
H A Dmysqli_num_rows.phpt45 func_test_mysqli_num_rows($link, "INSERT INTO test(id, label) VALUES (100, 'z')", NULL, 15);
46 func_test_mysqli_num_rows($link, "SELECT id FROM test LIMIT 2", 2, 20, true);
48 if ($res = mysqli_query($link, 'SELECT COUNT(id) AS num FROM test')) {
53 func_test_mysqli_num_rows($link, "SELECT id, label FROM test", (int)$row['num'], 25);
61 if ($res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT)) {
H A Dmysqli_stmt_get_result_non_select.phpt51 if (mysqli_query($link, 'PREPARE mystmt FROM "DESCRIBE test id"')) {
54 if (!$stmt->prepare('DESCRIBE test id') ||
62 if ($description['Field'] != 'id') {
70 if (mysqli_query($link, 'PREPARE mystmt FROM "EXPLAIN SELECT id FROM test"')) {
73 if (!$stmt->prepare('EXPLAIN SELECT id FROM test') ||
H A Dlocal_infile_tools.inc23 …if (!mysqli_query($link, $sql = sprintf('CREATE TABLE %s(id INT, label CHAR(1), PRIMARY KEY(id)) E…
106 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id")) {
119 if ($values['id'] != $tmp['id']) {
122 $values['id'], $tmp['id']);
H A Dmysqli_stmt_get_result_bit.phpt51 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id BIGINT UNSIGNED, bit_value BIT(%d) NOT N…
79 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin);
88 …$sql = sprintf("SELECT bin(bit_value) AS _bin, id, bit_value, bit_null FROM test WHERE id = %s", $…
100 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
102 … printf("[008 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n",
103 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
H A Dmysqli_store_result.phpt24 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 Dmysqli_stmt_fetch.phpt36 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id LIMIT 2"))
53 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id LIMIT 2"))
59 $id = NULL;
61 if (true !== ($tmp = mysqli_stmt_bind_result($stmt, $id, $label)))
/PHP-7.4/ext/oci8/tests/
H A Dlob_035.phpt15 ".$schema.$table_name." (id, blob)
30 ".$schema.$table_name." (id, blob)
43 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 1";
49 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 2 FOR UPDATE";
74 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 2 FOR UPDATE";
H A Dstatement_type_old.phpt19 "DELETE FROM table WHERE id = 1",
21 "UPDATE table SET id = 1",
24 "CREATE TABLE table (id NUMBER)",
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec_ddl.phpt52 if (0 === $db->exec('CREATE TABLE pdo_exec_ddl(id INT, col1 CHAR(2))')) {
53 exec_and_count(5, $db, 'CREATE INDEX idx1 ON pdo_exec_ddl(id)', 0);
55 exec_and_count(7, $db, 'ALTER TABLE pdo_exec_ddl DROP id', 0);
56 exec_and_count(8, $db, 'ALTER TABLE pdo_exec_ddl ADD id INT', 0);
57 exec_and_count(9, $db, 'ALTER TABLE pdo_exec_ddl ALTER id SET DEFAULT 1', 0);
H A Dpdo_mysql_prepare_native_column.phpt20 $stmt = $db->prepare("SELECT :param FROM test ORDER BY id ASC LIMIT 1");
21 $stmt->execute(array(':param' => 'id'));
42 string(2) "id"
H A Dpdo_mysql_stmt_errorcode.phpt23 $stmt = $db->prepare('SELECT id FROM ihopeitdoesnotexist ORDER BY id ASC');
39 $stmt = $db->prepare('SELECT id FROM ihopeitdoesnotexist ORDER BY id ASC');
/PHP-7.4/ext/session/tests/
H A Dbug60634_error_1.phpt23 function read($id) {
27 function write($id, $session_data) {
32 function destroy($id) {
H A Dsession_module_name_variation3.phpt26 function read($id) { return ''; }
27 function write($id, $session_data) { return true; }
28 function destroy($id) { return true; }
H A Dsession_set_save_handler_error2.phpt22 function read($id) { return false; }
23 function write($id, $session_data) { }
24 function destroy($id) { return true; }
H A Dsession_set_save_handler_error3.phpt26 function read($id) { return false; }
27 function write($id, $session_data) { }
28 function destroy($id) { return true; }
H A Dsession_id_basic2.phpt11 * Prototype : string session_id([string $id])
12 * Description : Get and/or set the current session id
/PHP-7.4/Zend/tests/
H A Dbug67633.phpt6 function id($x) {
17 foreach(id($array) as &$v) {
/PHP-7.4/ext/pgsql/tests/
H A D27large_object_oid.phpt21 if ($oid != 21000) echo ("pg_lo_create() wrong id\n");
29 if ($oid != 21001) echo ("pg_lo_create() wrong id\n");
37 if ($oid != 21002) echo ("pg_lo_create() wrong id\n");
H A D80_bug39971.phpt17 pg_query("CREATE TABLE php_test (id SERIAL, tm timestamp NOT NULL)");
22 $ids = array('id' => 1);
/PHP-7.4/ext/odbc/tests/
H A Dbug80152.phpt10 odbc_exec($conn,"CREATE TABLE bug80152 (id INT, name CHAR(24))");
11 $stmt = odbc_prepare($conn,"INSERT INTO bug80152 (id, name) VALUES (?, ?)");
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxml_to_dandarpc.c68 const char* id = NULL; in xml_element_to_DANDARPC_REQUEST_worker() local
74 id = attr_iter->val; in xml_element_to_DANDARPC_REQUEST_worker()
82 if(id) { in xml_element_to_DANDARPC_REQUEST_worker()
83 XMLRPC_SetValueID_Case(xCurrent, id, 0, xmlrpc_case_exact); in xml_element_to_DANDARPC_REQUEST_worker()
173 const char* id = XMLRPC_GetValueID(node); in DANDARPC_to_xml_element_worker() local
190 if(id && *id) { in DANDARPC_to_xml_element_worker()
194 attr_id->val = estrdup(id); in DANDARPC_to_xml_element_worker()

Completed in 23 milliseconds

1...<<11121314151617181920>>...32