Home
last modified time | relevance | path

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

12345678910>>...35

/PHP-7.2/Zend/tests/varSyntax/
H A DindirectFcall.phpt6 function id($x = 'id') { return $x; }
10 id('var_dump')(1);
11 id('id')('var_dump')(2);
12 id('id')('id')('var_dump')(3);
13 id()()('var_dump')(4);
15 id(['udef', 'id'])[1]()('var_dump')(5);
16 (id((object) ['a' => 'id', 'b' => 'udef'])->a)()()()()('var_dump')(6);
20 $id($id)('var_dump')(7);
29 public static function id($x = [__CLASS__, 'id']) { return $x; }
33 [$obj, 'id']()('id')($id)('var_dump')(10);
[all …]
/PHP-7.2/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_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 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 ["id"]=>
94 ["id"]=>
101 ["id"]=>
108 ["id"]=>
115 ["id"]=>
124 ["id"]=>
[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_param_call_user_func.phpt20 $id = 1;
42 $id = 1;
46 2 => &$id
71 $id = 1;
74 1 => &$id
99 $id = 1;
126 $id = 1;
154 $id = 1;
183 $id = 1;
212 $id = 1;
[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 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));
28 print $id;
/PHP-7.2/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-7.2/ext/standard/tests/serialize/
H A Dbug76300.phpt6 private $id;
7 public function __construct($id)
9 $this->id = $id;
13 protected $id;
14 public function __construct($id)
16 parent::__construct($id + 20);
17 $this->id = $id;
27 [id:protected] => 44
28 [id:Base:private] => 64
/PHP-7.2/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 …]
/PHP-7.2/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.h355 #define XMLRPC_SetValueID(value, id, len) XMLRPC_SetValueID_Case(value, id, len, XMLRPC_DEFAULT_ID_… argument
428 …define XMLRPC_VectorAppendString(vector, id, s, len) XMLRPC_AddValueToVector(vector, XMLRPC_Create… argument
432 #define XMLRPC_VectorAppendDouble(vector, id, f) XMLRPC_AddValueToVector(vector, XMLRPC_CreateValue… argument
433 #define XMLRPC_VectorAppendInt(vector, id, i) XMLRPC_AddValueToVector(vector, XMLRPC_CreateValueInt… argument
434 #define XMLRPC_VectorAppendBoolean(vector, id, i) XMLRPC_AddValueToVector(vector, XMLRPC_CreateValu… argument
438 …define XMLRPC_VectorGetStringWithID(vector, id) XMLRPC_GetValueString(XMLRPC_VectorGetValueWithID(… argument
439 …define XMLRPC_VectorGetBase64WithID(vector, id) XMLRPC_GetValueBase64(XMLRPC_VectorGetValueWithID(… argument
440 …ine XMLRPC_VectorGetDateTimeWithID(vector, id) XMLRPC_GetValueDateTime(XMLRPC_VectorGetValueWithID… argument
441 …define XMLRPC_VectorGetDoubleWithID(vector, id) XMLRPC_GetValueDouble(XMLRPC_VectorGetValueWithID(… argument
442 #define XMLRPC_VectorGetIntWithID(vector, id) XMLRPC_GetValueInt(XMLRPC_VectorGetValueWithID(vector… argument
[all …]
/PHP-7.2/ext/session/tests/
H A Dbug32330.phpt29 function sRead($id)
31 echo "read: id = {$id}\n";
35 function sWrite($id, $data)
37 echo "write: id = {$id}, data = {$data}\n";
41 function sDestroy($id)
43 echo "destroy: id = {$id}\n";
73 read: id = %s
75 write: id = %s, data = A|s:1:"B";
78 read: id = %s
80 destroy: id = %s
[all …]
/PHP-7.2/tests/classes/
H A Dclone_006.phpt9 static $id = 0;
12 $this->id = self::$id++;
17 $this->id = self::$id++;
26 echo $original->id . "\n";
30 echo $clone->id . "\n";
36 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
38 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
41 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
43 Notice: Accessing static property MyCloneable::$id as non static in %s on line %d
/PHP-7.2/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-7.2/ext/pdo_sqlite/tests/
H A Dbug78192.phpt11 $connection->query('CREATE TABLE user (id INTEGER PRIMARY KEY NOT NULL, name VARCHAR(255) NOT NULL)…
13 $stmt = $connection->prepare('INSERT INTO user (id, name) VALUES(:id, :name)');
15 'id' => 10,
19 $stmt = $connection->prepare('SELECT * FROM user WHERE id = :id');
20 $stmt->execute(['id' => 10]);
24 $stmt->execute(['id' => 10]);
30 ["id"]=>
39 ["id"]=>

Completed in 47 milliseconds

12345678910>>...35