/PHP-7.4/ext/pdo/tests/ |
H A D | pdo_035.phpt | 10 $db->exec('CREATE TABLE test (id int)'); 13 $stmt = $db->prepare('SELECT id FROM test');
|
H A D | bug_43130.phpt | 31 $stmt = $db->prepare("SELECT a FROM test WHERE b=:id-value"); 32 $stmt->bindParam(':id-value', $id); 33 $id = '1';
|
H A D | pdo_026.phpt | 58 $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 D | mysqli_fetch_object_no_object.phpt | 12 … if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 5")) {
|
H A D | mysqli_num_rows.phpt | 45 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 D | mysqli_stmt_get_result_non_select.phpt | 51 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 D | local_infile_tools.inc | 23 …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 D | mysqli_stmt_get_result_bit.phpt | 51 …!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 D | mysqli_store_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_stmt_fetch.phpt | 36 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 D | lob_035.phpt | 15 ".$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 D | statement_type_old.phpt | 19 "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 D | pdo_mysql_exec_ddl.phpt | 52 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 D | pdo_mysql_prepare_native_column.phpt | 20 $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 D | pdo_mysql_stmt_errorcode.phpt | 23 $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 D | bug60634_error_1.phpt | 23 function read($id) { 27 function write($id, $session_data) { 32 function destroy($id) {
|
H A D | session_module_name_variation3.phpt | 26 function read($id) { return ''; } 27 function write($id, $session_data) { return true; } 28 function destroy($id) { return true; }
|
H A D | session_set_save_handler_error2.phpt | 22 function read($id) { return false; } 23 function write($id, $session_data) { } 24 function destroy($id) { return true; }
|
H A D | session_set_save_handler_error3.phpt | 26 function read($id) { return false; } 27 function write($id, $session_data) { } 28 function destroy($id) { return true; }
|
H A D | session_id_basic2.phpt | 11 * Prototype : string session_id([string $id]) 12 * Description : Get and/or set the current session id
|
/PHP-7.4/Zend/tests/ |
H A D | bug67633.phpt | 6 function id($x) { 17 foreach(id($array) as &$v) {
|
/PHP-7.4/ext/pgsql/tests/ |
H A D | 27large_object_oid.phpt | 21 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 D | 80_bug39971.phpt | 17 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 D | bug80152.phpt | 10 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 D | xml_to_dandarpc.c | 68 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()
|