Home
last modified time | relevance | path

Searched refs:id (Results 101 – 125 of 826) sorted by relevance

12345678910>>...34

/PHP-5.5/ext/sqlite3/tests/
H A Dbug63921-32bit.phpt12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)');
15 $stmt->bindValue(':id', 1, SQLITE3_INTEGER);
H A Dbug63921-64bit.phpt12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)');
15 $stmt->bindValue(':id', 1, SQLITE3_INTEGER);
H A Dsqlite3_19_columninfo.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
19 $result = $db->query("SELECT * FROM test ORDER BY id ASC");
40 Name: id - Type: 3
42 Name: id - Type: 3
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_expire_password.phpt43 !$link->query("CREATE TABLE test (id INT)") || !$link->query("INSERT INTO test(id) VALUES (1)"))
65 $link->query("SELECT id FROM test WHERE id = 1");
76 $link->query("SELECT id FROM test WHERE id = 1");
87 $link->query("SELECT id FROM test WHERE id = 1");
101 if ($res = $link->query("SELECT id FROM test WHERE id = 1"))
112 $link->query("SELECT id FROM test WHERE id = 1");
113 if ($res = $link->query("SELECT id FROM test WHERE id = 1"))
138 ["id"]=>
142 ["id"]=>
H A Dmysqli_affected_rows_oo.phpt28 …if (!$mysqli->query('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE = ' . $engin…
31 if (!$mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a')"))
38 $mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a')");
42 if (!$mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id = 4"))
54 if (!$mysqli->query("INSERT IGNORE INTO test(id, label) VALUES (1, 'a')")) {
61 if (!$mysqli->query("INSERT INTO test(id, label) SELECT id + 10, label FROM test"))
67 if (!$mysqli->query("REPLACE INTO test(id, label) values (4, 'd')"))
73 if (!$mysqli->query("REPLACE INTO test(id, label) values (5, 'e')"))
79 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 2"))
85 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 2")) {
[all …]
H A Dmysqli_poll_mixing_insert_select.phpt28 'CREATE TABLE IF NOT EXISTS bogus(id INT)',
30 'SELECT * FROM test ORDER BY id ASC LIMIT 2',
31 "INSERT INTO test(id, label) VALUES (100, 'z')",
32 'SELECT * FROM test ORDER BY id ASC LIMIT 2',
34 'UPDATE test SET id = 101 WHERE id > 3',
35 'UPDATE_FIX test SET id = 101 WHERE id > 3',
37 'DELETE FROM test WHERE id = @a',
38 'DELETE FROM test WHERE id = 1',
175 [003] 'UPDATE test SET id = 101 WHERE id > 3' caused 1062
176 [003] 'UPDATE_FIX test SET id = 101 WHERE id > 3' caused 1064
[all …]
H A Dmysqli_fetch_array_assoc.phpt13 if (!$res = mysqli_query($link, "SELECT * FROM test ORDER BY id LIMIT 5")) {
20 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 5")) {
37 [%u|b%"id"]=>
44 [%u|b%"id"]=>
H A Dmysqli_stmt_store_result.phpt34 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (100, 'z')") ||
41 if (!mysqli_stmt_prepare($stmt, 'SELECT id, label FROM test ORDER BY id') ||
51 if (!mysqli_stmt_prepare($stmt_buf, "SELECT id, label FROM test ORDER BY id") ||
55 $id = $label = $id_buf = $label_buf = null;
56 if (!mysqli_stmt_bind_result($stmt, $id, $label))
67 if ($id !== $id_buf)
69 $id, gettype($id), $id_buf, gettype($id_buf));
H A Dmysqli_stmt_fetch_fields_win32_unicode.phpt14 $bind_res = $id = null;
16 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test") ||
19 !mysqli_stmt_bind_result($stmt, $id, $bind_res) ||
30 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test") ||
33 !mysqli_stmt_bind_result($stmt, $id, $bind_res)) {
/PHP-5.5/ext/dom/
H A Ddocument.c904 zval *id; in PHP_FUNCTION() local
937 zval *id; in PHP_FUNCTION() local
964 zval *id; in PHP_FUNCTION() local
992 zval *id; in PHP_FUNCTION() local
1020 zval *id; in PHP_FUNCTION() local
1048 zval *id; in PHP_FUNCTION() local
1083 zval *id; in PHP_FUNCTION() local
1117 zval *id; in PHP_FUNCTION() local
1150 zval *id; in PHP_FUNCTION() local
1231 zval *id; in PHP_FUNCTION() local
[all …]
H A Dtext.c68 zval *id; in PHP_METHOD() local
76 …if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|s", &id, dom_text_class_… in PHP_METHOD()
89 intern = (dom_object *)zend_object_store_get_object(id TSRMLS_CC); in PHP_METHOD()
147 zval *id; in PHP_FUNCTION() local
158 …if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_text_class_e… in PHP_FUNCTION()
161 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_FUNCTION()
209 zval *id; in PHP_FUNCTION() local
213 …if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", &id, dom_text_class_en… in PHP_FUNCTION()
216 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_FUNCTION()
H A Dcharacterdata.c175 zval *id; in PHP_FUNCTION() local
187 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_FUNCTION()
224 zval *id; in PHP_FUNCTION() local
230 …if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_characterdat… in PHP_FUNCTION()
234 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_FUNCTION()
258 zval *id; in PHP_FUNCTION() local
270 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_FUNCTION()
306 zval *id; in PHP_FUNCTION() local
317 DOM_GET_OBJ(node, id, xmlNodePtr, intern); in PHP_FUNCTION()
361 zval *id; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/xsl/
H A Dxsltprocessor.c658 id = getThis(); in PHP_FUNCTION()
715 id = getThis(); in PHP_FUNCTION()
747 id = getThis(); in PHP_FUNCTION()
778 zval *id; in PHP_FUNCTION() local
784 DOM_GET_THIS(id); in PHP_FUNCTION()
828 zval *id; in PHP_FUNCTION() local
853 zval *id; in PHP_FUNCTION() local
876 zval *id; in PHP_FUNCTION() local
919 zval *id; in PHP_FUNCTION() local
945 zval *id; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_native_dup_named_placeholder.phpt18 …$db->exec(sprintf('CREATE TABLE test(id INT, label1 CHAR(255), label2 CHAR(255)) ENGINE=%s', PDO_M…
26 …$stmt = $db->prepare('INSERT INTO test(id, label1, label2) VALUES (1, :placeholder, :placeholder)'…
35 $stmt = $db->prepare('SELECT id, label1, label2 FROM test WHERE id = 1');
45 …$stmt = $db->prepare('INSERT INTO test(id, label1, label2) VALUES(2, :placeholder, :placeholder)');
54 $stmt = $db->prepare('SELECT id, label1, label2 FROM test WHERE id = 2');
63 $db->exec("INSERT INTO test (id, label1, label2) VALUES (1, 'row1', 'row2')");
64 …$sql = "SELECT id, label1 FROM test WHERE id = :placeholder AND label1 = (SELECT label1 AS 'SELECT…
118 ["id"]=>
129 ["id"]=>
H A Dlast_insert_id.phpt2 PDO MySQL auto_increment / last insert id
15 print_r($db->query("CREATE TABLE test (id int auto_increment primary key, num int)"));
17 print_r($db->query("INSERT INTO test (id, num) VALUES (23, 42)"));
25 [queryString] => CREATE TABLE test (id int auto_increment primary key, num int)
29 [queryString] => INSERT INTO test (id, num) VALUES (23, 42)
H A Dpdo_mysql_attr_case.phpt29 …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…
97 [%u|b%"id"]=>
112 [%u|b%"id"]=>
129 [%u|b%"id"]=>
152 [%u|b%"id"]=>
202 [%u|b%"id"]=>
H A Dpdo_mysql_begintransaction.phpt36 if (!($stmt = $db->query('SELECT id, label FROM test ORDER BY id ASC')))
45 if (1 !== $db->exec(sprintf('DELETE FROM test WHERE id = %d', $row['id'])))
54 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id']))))
62 $db->exec(sprintf("INSERT INTO test(id, label) VALUES (%d, 'z')", $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']))))
86 if (1 !== $db->exec(sprintf('DELETE FROM test WHERE id = %d', $row['id'])))
95 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id']))))
169 if (0 == $db->exec("INSERT INTO test(id, label) VALUES (1, 'a')"))
191 [%u|b%"id"]=>
[all …]
/PHP-5.5/ext/oci8/tests/
H A Dbind_misccoltypes_errs.phpt16 id number,
37 function check_col($c, $colname, $id)
39 $s = oci_parse($c, "select $colname from bind_misccoltypes_errs_tab where id = :id");
40 oci_bind_by_name($s, ":id", $id);
52 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_errs_tab (id, number_t6) VALUES (1, :n1)");
62 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_errs_tab (id, number_t6) VALUES (2, :n1)");
70 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_errs_tab (id, char_t) VALUES (3, :c2)");
77 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_errs_tab (id, varchar2_t10) VALUES (4, :c2)");
84 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_errs_tab (id, number_t) VALUES (5, :c2)");
91 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_errs_tab (id, varchar2_t10) VALUES (6, :c2)");
[all …]
H A Dbind_sqltint.phpt16 id number,
25 function check_col($c, $colname, $id)
27 $s = oci_parse($c, "select $colname from bind_sqltint_tab where id = :id");
28 oci_bind_by_name($s, ":id", $id);
39 $s = oci_parse($c, "INSERT INTO bind_sqltint_tab (id, varchar2_t10) VALUES (141, :c2)");
47 $s = oci_parse($c, "INSERT INTO bind_sqltint_tab (id, number_t) VALUES (142, :n1)");
56 $s = oci_parse($c, "INSERT INTO bind_sqltint_tab (id, number_t) VALUES (143, :n1)");
65 $s = oci_parse($c, "INSERT INTO bind_sqltint_tab (id, number_t) VALUES (144, :n1)");
74 $s = oci_parse($c, "INSERT INTO bind_sqltint_tab (id, number_t) VALUES (145, :n1)");
83 $s = oci_parse($c, "INSERT INTO bind_sqltint_tab (id, number_t) VALUES (146, :n1)");
[all …]
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_sid_001.phpt30 public function read($id) {
31 return @file_get_contents($this->path . $id);
34 public function write($id, $data) {
35 return file_put_contents($this->path . $id, $data);
38 public function destroy($id) {
39 @unlink($this->path . $id);
/PHP-5.5/ext/simplexml/tests/
H A D007.phpt11 <sxe id="elem1">
30 var_dump($sxe['id']);
33 $sxe['id'] = "Changed1";
34 var_dump($sxe['id']);
38 unset($sxe['id']);
39 var_dump($sxe['id']);
/PHP-5.5/ext/pgsql/tests/
H A Dpg_select_001.phpt14 pg_query('CREATE TABLE phptests.foo (id INT, id2 INT)');
23 var_dump(pg_select($conn, 'foo', array('id' => 1)));
26 var_dump(pg_select($conn, 'phptests.foo', array('id' => 1)));
29 var_dump(pg_select($conn, 'phptests.bar', array('id' => 1)));
46 ["id"]=>
53 Notice: pg_select(): Invalid field name (id) in values in %s on line %d
/PHP-5.5/ext/ctype/tests/
H A Dbug34645.phpt7 $id = 394829384;
8 var_dump(ctype_digit($id));
9 var_dump($id);
/PHP-5.5/ext/tidy/tests/
H A D010.phpt58 ["id"]=>
81 ["id"]=>
102 ["id"]=>
127 ["id"]=>
158 ["id"]=>
189 ["id"]=>
212 ["id"]=>
233 ["id"]=>
258 ["id"]=>
288 ["id"]=>
[all …]
/PHP-5.5/ext/mysql/tests/
H A Dmysql_db_query.phpt28 if (!$res = @mysql_db_query($db, 'SELECT id, label FROM test ORDER BY id LIMIT 1', $link))
32 if (1 != $row['id'])
33 printf("[005] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
43 if (!$res = @mysql_db_query($db, 'SELECT id, label FROM test ORDER BY id LIMIT 1'))
47 if (1 != $row['id'])
48 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);

Completed in 71 milliseconds

12345678910>>...34