Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 826) sorted by relevance

12345678910>>...34

/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_query_iterators.phpt73 ["id"]=>
77 ["id"]=>
81 ["id"]=>
85 ["id"]=>
89 ["id"]=>
93 ["id"]=>
98 ["id"]=>
102 ["id"]=>
106 ["id"]=>
110 ["id"]=>
[all …]
H A Dmysqli_stmt_bind_param_call_user_func.phpt24 $id = 1;
46 $id = 1;
50 2 => &$id
75 $id = 1;
78 1 => &$id
103 $id = 1;
130 $id = 1;
158 $id = 1;
187 $id = 1;
216 $id = 1;
[all …]
H A Dmysqli_stmt_bind_param_references.phpt16 $id, $label);
29 if ($row['id'] != $id) {
31 $offset, gettype($id), $id,
32 gettype($row['id']), $row['id']
62 $id = 100;
72 $id++;
82 $id++;
93 $id = 9;
155 $id = 102;
166 $id = 103;
[all …]
H A Dmysqli_stmt_bind_result_references.phpt30 var_dump($id);
36 $id = null;
54 $id = null;
75 $id = 100;
91 $id = null;
124 $id = &$obj->id;
141 $id = &$obj->id;
148 $id = null;
160 $id = null;
180 $id = null;
[all …]
H A Dbug66124.phpt14 PRIMARY KEY (`id`)
20 $id = '1311200011005001566';
41 $stmt->bind_param('i', $id);
44 echo "insert id:{$id}=>{$stmt->insert_id}\n";
55 echo "fetch id:{$row['id']}\n";
69 $stmt->bind_param('s', $id);
74 echo "insert id:{$id}\n";
84 echo "fetch id:{$row['id']}\n";
97 fetch id:1311200011005001566
99 insert id:1311200011005001566
[all …]
H A Dmysqli_last_insert_id.phpt46 printf("[005] SQL id %d should be equal to API id %d\n", $sql_id, $api_id);
80 if (!$link->query("UPDATE test SET id=LAST_INSERT_ID(id+1)"))
129 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
141 …if ($link->query("INSERT INTO test(id, label) SELECT id, CONCAT(label, id) FROM test ORDER BY id A…
171 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
184 id = %d, label = 'b'
185 id = %d, label = 'a'
186 id = %d, label = 'c'
188 id = %d, label = 'b'
189 id = %d, label = 'a'
[all …]
H A Dmysqli_result_references.phpt16 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2")) ||
24 'id' => &$row['id'],
35 'id' => &$row['id'],
53 'id' => &$row['id'],
87 [%u|b%"id"]=>
94 [%u|b%"id"]=>
101 [%u|b%"id"]=>
108 [%u|b%"id"]=>
115 [%u|b%"id"]=>
124 [%u|b%"id"]=>
[all …]
H A Dbug35517.phpt14 $mysql->query("CREATE TABLE temp (id INT UNSIGNED NOT NULL)");
15 $mysql->query("INSERT INTO temp (id) VALUES (3000000897),(3800001532),(3900002281),(3100059612)");
16 $stmt = $mysql->prepare("SELECT id FROM temp");
18 $stmt->bind_result($id);
21 if ((gettype($id) !== 'int') && (gettype($id) != 'integer'))
22 printf("[001] Expecting integer on 64bit got %s/%s\n", gettype($id), var_export($id, true));
24 if (gettype($id) !== 'string') {
25 printf("[002] Expecting string on 32bit got %s/%s\n", gettype($id), var_export($id, true));
27 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($id)) {
31 print $id;
/PHP-5.5/ext/pgsql/tests/
H A D80_bug24499.phpt18 @pg_query("DROP TABLE id");
19 pg_query("CREATE TABLE id (id SERIAL, t INT)");
27 public $id;
33 $q = pg_query($dbh, "SELECT id FROM id");
37 var_dump($id);
38 return $id->id;
42 $id = new Id();
43 var_dump($id->getId());
54 [id] => 1
59 [id] => 2
[all …]
H A Dpg_delete_001.phpt14 pg_query('CREATE TABLE foo (id INT, id2 INT)');
15 pg_query('CREATE TABLE phptests.foo (id INT, id2 INT)');
17 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
18 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 2));
19 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 2));
20 pg_insert($conn, 'foo', array('id' => 3, 'id2' => 3));
27 pg_delete($conn, 'foo', array('id' => 1, 'id2' => 0));
53 ["id"]=>
60 ["id"]=>
69 ["id"]=>
[all …]
H A Dpg_update_001.phpt14 pg_query('CREATE TABLE foo (id INT, id2 INT)');
15 pg_query('CREATE TABLE phptests.foo (id INT, id2 INT)');
18 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
19 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2));
21 pg_update($conn, 'foo', array('id' => 10), array('id' => 1));
22 var_dump(pg_update($conn, 'foo', array('id' => 10), array('id' => 1), PGSQL_DML_STRING));
24 pg_update($conn, 'phptests.foo', array('id' => 100), array('id2' => 2));
38 string(38) "UPDATE "foo" SET "id"=10 WHERE "id"=1;"
39 string(51) "UPDATE "phptests"."foo" SET "id"=100 WHERE "id2"=2;"
41 ["id"]=>
[all …]
H A Dbug68638.phpt14 pg_query("CREATE TABLE $table (id INT, value FLOAT)");
16 pg_insert($conn,$table, array('id' => 1, 'value' => 1.2));
17 pg_insert($conn,$table, array('id' => 2, 'value' => 10));
18 pg_insert($conn,$table, array('id' => 3, 'value' => 15));
22 pg_update($conn,$table, array('value' => 'inf'), array('id' => 1));
23 pg_update($conn,$table, array('value' => '-inf'), array('id' => 2));
24 pg_update($conn,$table, array('value' => '+inf'), array('id' => 3));
35 string(52) "UPDATE "test_68638" SET "value"=E'inf' WHERE "id"=1;"
37 ["id"]=>
43 ["id"]=>
[all …]
H A D80_bug27597.phpt17 @pg_query("DROP TABLE id");
18 pg_query("CREATE TABLE id (id INT)");
21 pg_query("INSERT INTO id (id) VALUES ($i)");
29 $res = pg_query("SELECT * FROM id");
46 [id] => 0
50 [id] => 1
54 [id] => 2
58 [id] => 3
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindcolumn.phpt21 $stmt = $db->prepare('SELECT id, label FROM test ORDER BY id ASC LIMIT 2');
23 $id = $label = null;
36 var_export($id, true), gettype($id),
38 $data[] = array('id' => $id, 'label' => $label);
44 if ($row['id'] != $data[$index]['id']) {
46 var_export($data[$index]['id'], true), gettype($data[$index]['id']),
47 var_export($row['id'], true), gettype($row['id']));
76 var_export($id, true), gettype($id),
78 $data[] = array('id' => $id, 'label' => $label);
84 if ($row['id'] != $data[$index]['id']) {
[all …]
H A Dbug41125.phpt46 $id = 'o\'\0';
47 $stmt->bindParam(':id', $id);
57 "SELECT 1 FROM DUAL WHERE 1 = :id AND '' AND 2 <> :id",
58 "SELECT 1 FROM DUAL WHERE 1 = :id AND '\'\'' = '''' AND 2 <> :id",
59 "SELECT 1 FROM DUAL WHERE 1 = :id AND '\'' = '''' AND 2 <> :id",
64 "SELECT 1 FROM DUAL WHERE :id AND '\\0' OR :id",
68 "SELECT 1 'FROM DUAL WHERE :id AND '''' = '''' OR 1 = 1 AND ':id",
72 $id = 1;
76 $stmt->bindParam(':id', $id);
114 [2] Query: [[SELECT 1 FROM DUAL WHERE 1 = :id AND '' AND 2 <> :id]]
[all …]
H A Dpdo_mysql_stmt_bindvalue.phpt43 var_export($id, true), gettype($id),
65 var_export($id, true), gettype($id),
89 var_export($id, true), gettype($id),
94 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
118 var_export($id, true), gettype($id),
123 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
148 var_export($id, true), gettype($id),
183 var_export($id, true), gettype($id),
205 var_export($id, true), gettype($id),
234 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
[all …]
H A Dpdo_mysql_stmt_bindparam.phpt19 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
26 $id = $label = null;
28 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
39 var_export($id, true), gettype($id),
47 var_export($id, true), gettype($id),
66 $id = $label = 'bogus';
67 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
78 var_export($id, true), gettype($id),
127 in = 0 -> id = 1 (integer) / label = 'a' (string)
128 in = 0 -> id = 2 (integer) / label = 'b' (string)
[all …]
H A Dpdo_mysql_multi_stmt_nextrowset.phpt33 …EATE PROCEDURE p() BEGIN SELECT id FROM test ORDER BY id ASC LIMIT 3; SELECT id, label FROM test W…
96 ["id"]=>
101 ["id"]=>
106 ["id"]=>
113 ["id"]=>
120 ["id"]=>
127 ["id"]=>
137 ["id"]=>
142 ["id"]=>
147 ["id"]=>
[all …]
H A Dbug_61207.phpt16 $db->query('create table `test`( `id` int )');
18 $handle1 = $db->prepare('insert into test(id) values(1);
19 select * from test where id = ?;
20 update test set id = 2 where id = ?;');
34 $handle2 = $db->prepare('select * from test where id = ?;
35 update test set id = 1 where id = ?;');
50 $handle3 = $db->prepare('update test set id = 2 where id = ?;
51 select * from test where id = ?;');
66 $handle4 = $db->prepare('insert into test(id) values(3);
67 update test set id = 2 where id = ?;
[all …]
H A Dpdo_mysql_stmt_closecursor_empty.phpt25 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
32 $id = $label = null;
34 if (!$stmt->bindColumn(1, $id, PDO::PARAM_INT))
43 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
45 var_export($id, true), gettype($id),
51 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
53 var_export($id, true), gettype($id),
70 in = 0 -> id = 1 (integer) / label = 'a' (string)
71 in = 0 -> id = 2 (integer) / label = 'b' (string)
72 in = 0 -> id = 1 (integer) / label = 'a' (string)
[all …]
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.h354 #define XMLRPC_SetValueID(value, id, len) XMLRPC_SetValueID_Case(value, id, len, XMLRPC_DEFAULT_ID_… argument
427 …define XMLRPC_VectorAppendString(vector, id, s, len) XMLRPC_AddValueToVector(vector, XMLRPC_Create… argument
431 #define XMLRPC_VectorAppendDouble(vector, id, f) XMLRPC_AddValueToVector(vector, XMLRPC_CreateValue… argument
432 #define XMLRPC_VectorAppendInt(vector, id, i) XMLRPC_AddValueToVector(vector, XMLRPC_CreateValueInt… argument
433 #define XMLRPC_VectorAppendBoolean(vector, id, i) XMLRPC_AddValueToVector(vector, XMLRPC_CreateValu… argument
437 …define XMLRPC_VectorGetStringWithID(vector, id) XMLRPC_GetValueString(XMLRPC_VectorGetValueWithID(… argument
438 …define XMLRPC_VectorGetBase64WithID(vector, id) XMLRPC_GetValueBase64(XMLRPC_VectorGetValueWithID(… argument
439 …ine XMLRPC_VectorGetDateTimeWithID(vector, id) XMLRPC_GetValueDateTime(XMLRPC_VectorGetValueWithID… argument
440 …define XMLRPC_VectorGetDoubleWithID(vector, id) XMLRPC_GetValueDouble(XMLRPC_VectorGetValueWithID(… argument
441 #define XMLRPC_VectorGetIntWithID(vector, id) XMLRPC_GetValueInt(XMLRPC_VectorGetValueWithID(vector… argument
[all …]
/PHP-5.5/ext/session/tests/
H A Dbug32330.phpt28 function sRead($id)
30 echo "read: id = {$id}\n";
34 function sWrite($id, $data)
36 echo "write: id = {$id}, data = {$data}\n";
40 function sDestroy($id)
42 echo "destroy: id = {$id}\n";
72 read: id = %s
74 write: id = %s, data = A|s:1:"B";
77 read: id = %s
79 destroy: id = %s
[all …]
H A Dsave_handler.inc18 function read($id) {
20 $session_id = $id;
21 echo "Read [${session_save_path},${id}]\n";
22 $session_file = "$session_save_path/".SESSION_FILE_PREFIX.$id;
26 function write($id, $session_data) {
28 $session_id = $id;
29 echo "Write [${session_save_path},${id},${session_data}]\n";
30 $session_file = "$session_save_path/".SESSION_FILE_PREFIX.$id;
39 function destroy($id) {
41 echo "Destroy [${session_save_path},${id}]\n";
[all …]
/PHP-5.5/ext/standard/tests/strings/
H A Dsprintf_variation17.phpt50 string(%d) "Resource id #%d"
52 string(%d) "Resource id #%d"
54 string(%d) " Resource id #%d"
55 string(%d) "Resource id #%d "
56 string(%d) " Resource id #%d"
58 Resource id #%d"
59 string(%d) "Resource id #%d"
65 string(%d) "Resource id #%d"
67 string(%d) "Resource id #%d"
73 Resource id #%d"
[all …]
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3stmt_paramCount_basic.phpt11 var_dump($db->exec('CREATE TABLE foobar (id INTEGER, name STRING, city STRING)'));
14 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (1, 'john', 'LA')"));
15 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (2, 'doe', 'SF')"));
19 "SELECT * FROM foobar WHERE id = ? ORDER BY id ASC",
20 "SELECT * FROM foobar WHERE id = 2 ORDER BY id ASC",
21 "SELECT * FROM foobar WHERE id = :id AND name = :name ORDER BY id ASC",
22 "SELECT * FROM foobar WHERE id = 1 AND name = :name ORDER BY id ASC",

Completed in 47 milliseconds

12345678910>>...34