Home
last modified time | relevance | path

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

12345678910>>...33

/PHP-8.1/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-8.1/ext/mysqli/tests/
H A Dmysqli_query_iterators.phpt78 ["id"]=>
82 ["id"]=>
86 ["id"]=>
90 ["id"]=>
94 ["id"]=>
98 ["id"]=>
103 ["id"]=>
107 ["id"]=>
111 ["id"]=>
115 ["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.phpt18 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2")) ||
26 'id' => &$row['id'],
37 'id' => &$row['id'],
55 'id' => &$row['id'],
90 ["id"]=>
99 ["id"]=>
108 ["id"]=>
117 ["id"]=>
126 ["id"]=>
139 ["id"]=>
[all …]
H A Dmysqli_stmt_bind_param_references.phpt29 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;
153 unset($id);
155 $id = 102;
166 $id = 103;
[all …]
H A Dmysqli_stmt_bind_param_call_user_func.phpt20 $id = 1;
42 $id = 1;
71 $id = 1;
99 $id = 1;
126 $id = 1;
154 $id = 1;
183 $id = 1;
212 $id = 1;
240 $id = 1;
268 $id = 1;
[all …]
H A Dbug66124.phpt15 PRIMARY KEY (`id`)
21 $id = '1311200011005001566';
42 $stmt->bind_param('i', $id);
45 echo "insert id:{$id}=>{$stmt->insert_id}\n";
56 echo "fetch id:{$row['id']}\n";
70 $stmt->bind_param('s', $id);
75 echo "insert id:{$id}\n";
85 echo "fetch id:{$row['id']}\n";
102 fetch id:1311200011005001566
104 insert id:1311200011005001566
[all …]
H A Dmysqli_last_insert_id.phpt81 if (!$link->query("UPDATE test SET id=LAST_INSERT_ID(id+1)"))
130 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
142 …if ($link->query("INSERT INTO test(id, label) SELECT id, CONCAT(label, id) FROM test ORDER BY id A…
172 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
185 id = %d, label = 'b'
186 id = %d, label = 'a'
187 id = %d, label = 'c'
189 id = %d, label = 'b'
190 id = %d, label = 'a'
191 id = %d, label = 'c'
[all …]
/PHP-8.1/ext/pgsql/tests/
H A D80_bug24499.phpt20 @pg_query($dbh, "DROP TABLE id");
21 pg_query($dbh, "CREATE TABLE id (id SERIAL, t INT)");
29 public $id;
35 $q = pg_query($dbh, "SELECT id FROM id");
39 var_dump($id);
40 return $id->id;
44 $id = new Id();
45 var_dump($id->getId());
56 [id] => 1
61 [id] => 2
[all …]
H A Dpg_delete_001.phpt16 pg_query($conn, 'CREATE TABLE foo (id INT, id2 INT)');
19 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
20 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 2));
21 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 2));
22 pg_insert($conn, 'foo', array('id' => 3, 'id2' => 3));
29 pg_delete($conn, 'foo', array('id' => 1, 'id2' => 0));
30 pg_delete($conn, 'foo', array('id' => 1, 'id2' => 2));
55 ["id"]=>
62 ["id"]=>
71 ["id"]=>
[all …]
H A Dpg_update_001.phpt16 pg_query($conn, 'CREATE TABLE foo (id INT, id2 INT)');
17 pg_query($conn, 'CREATE TABLE phptests.foo (id INT, id2 INT)');
20 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
21 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2));
23 pg_update($conn, 'foo', array('id' => 10), array('id' => 1));
24 var_dump(pg_update($conn, 'foo', array('id' => 10), array('id' => 1), PGSQL_DML_STRING));
26 pg_update($conn, 'phptests.foo', array('id' => 100), array('id2' => 2));
40 string(38) "UPDATE "foo" SET "id"=10 WHERE "id"=1;"
41 string(51) "UPDATE "phptests"."foo" SET "id"=100 WHERE "id2"=2;"
43 ["id"]=>
[all …]
H A Dbug68638.phpt16 pg_query($conn, "CREATE TABLE $table (id INT, value FLOAT)");
18 pg_insert($conn,$table, array('id' => 1, 'value' => 1.2));
19 pg_insert($conn,$table, array('id' => 2, 'value' => 10));
20 pg_insert($conn,$table, array('id' => 3, 'value' => 15));
24 pg_update($conn,$table, array('value' => 'inf'), array('id' => 1));
25 pg_update($conn,$table, array('value' => '-inf'), array('id' => 2));
26 pg_update($conn,$table, array('value' => '+inf'), array('id' => 3));
37 string(52) "UPDATE "test_68638" SET "value"=E'inf' WHERE "id"=1;"
39 ["id"]=>
45 ["id"]=>
[all …]
H A D80_bug27597.phpt19 @pg_query($dbh, "DROP TABLE id");
20 pg_query($dbh, "CREATE TABLE id (id INT)");
23 pg_query($dbh, "INSERT INTO id (id) VALUES ($i)");
31 $res = pg_query($dbh, "SELECT * FROM id");
47 [id] => 0
51 [id] => 1
55 [id] => 2
59 [id] => 3
/PHP-8.1/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;
28 [id:Base:private] => 64
29 [id:protected] => 44
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindcolumn.phpt22 $stmt = $db->prepare('SELECT id, label FROM test ORDER BY id ASC LIMIT 2');
24 $id = $label = null;
37 var_export($id, true), gettype($id),
39 $data[] = array('id' => $id, 'label' => $label);
42 $stmt = $db->query('SELECT id, label FROM test ORDER BY id ASC LIMIT 2');
45 if ($row['id'] != $data[$index]['id']) {
48 var_export($row['id'], true), gettype($row['id']));
77 var_export($id, true), gettype($id),
79 $data[] = array('id' => $id, 'label' => $label);
85 if ($row['id'] != $data[$index]['id']) {
[all …]
H A Dpdo_mysql_stmt_bindvalue.phpt24 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
44 var_export($id, true), gettype($id),
66 var_export($id, true), gettype($id),
90 var_export($id, true), gettype($id),
95 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
119 var_export($id, true), gettype($id),
124 …$stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? AND id <= ? ORDER BY id ASC LIMIT 2'…
149 var_export($id, true), gettype($id),
184 var_export($id, true), gettype($id),
235 …$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.phpt20 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > ? ORDER BY id ASC LIMIT 2');
27 $id = $label = null;
40 var_export($id, true), gettype($id),
48 var_export($id, true), gettype($id),
67 $id = $label = 'bogus';
79 var_export($id, true), gettype($id),
128 in = 0 -> id = 1 (integer) / label = 'a' (string)
129 in = 0 -> id = 2 (integer) / label = 'b' (string)
131 in = 0 -> id = 1 (integer) / label = 'a' (string)
132 in = 0 -> id = 2 (integer) / label = 'b' (string)
[all …]
H A Dbug41125.phpt47 $id = 'o\'\0';
48 $stmt->bindParam(':id', $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",
60 "SELECT 1 FROM DUAL WHERE 1 = :id AND '\'' = '''' AND 2 <> :id",
65 "SELECT 1 FROM DUAL WHERE :id AND '\\0' OR :id",
69 "SELECT 1 'FROM DUAL WHERE :id AND '''' = '''' OR 1 = 1 AND ':id",
73 $id = 1;
77 $stmt->bindParam(':id', $id);
117 [2] Query: [[SELECT 1 FROM DUAL WHERE 1 = :id AND '' AND 2 <> :id]]
[all …]
H A Dpdo_mysql_multi_stmt_nextrowset.phpt31 …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"]=>
139 ["id"]=>
144 ["id"]=>
149 ["id"]=>
[all …]
/PHP-8.1/ext/tokenizer/tests/
H A DPhpToken_tokenize.phpt22 ["id"]=>
34 ["id"]=>
45 ["id"]=>
56 ["id"]=>
67 ["id"]=>
78 ["id"]=>
89 ["id"]=>
100 ["id"]=>
111 ["id"]=>
123 ["id"]=>
[all …]
/PHP-8.1/Zend/tests/
H A Dassign_coalesce_001.phpt13 function id($arg) {
14 echo "id($arg)\n";
93 id(foo)
94 id(foo)
95 id(bar)
110 id(foo)
111 id(foo)
112 id(bar)
123 id(foo)
124 id(foo)
[all …]
/PHP-8.1/ext/dom/tests/
H A Dbug80332_2.phpt9 $doc->loadXML('<?xml version="1.0"?><span><strong id="1"/><strong id="2"/></span>');
38 list[0] id attribute: 1
39 list[false] id attribute: 1
40 list[true] id attribute: 2
41 list[null] id attribute: 1
42 list['0'] id attribute: 1
43 list['0.5'] id attribute: 1
44 list['1'] id attribute: 2
45 list['attr2'] id attribute: /
46 list['hi'] id attribute: /
[all …]
/PHP-8.1/ext/session/tests/
H A Dbug32330.phpt31 function sRead($id)
33 echo "read: id = {$id}\n";
37 function sWrite($id, $data)
39 echo "write: id = {$id}, data = {$data}\n";
43 function sDestroy($id)
45 echo "destroy: id = {$id}\n";
75 read: id = %s
77 write: id = %s, data = A|s:1:"B";
80 read: id = %s
82 destroy: id = %s
[all …]
/PHP-8.1/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-8.1/Zend/tests/named_params/
H A Dbasic.phpt14 function &id($x) {
45 test3(id("A"), id("B"), id("C"), d: id("D"), e: id("E"));
46 test3(id("A"), id("B"), id("C"), e: id("E"), d: id("D"));
47 test3(e: id("E"), a: id("A"), d: id("D"), b: id("B"), c: id("C"));
48 test3(id("A"), id("B"), id("C"), e: id("E"));
51 test4(id("A"), id("B"), id("C"), d: id("D"), e: id("E"));
52 test4(id("A"), id("B"), id("C"), e: id("E"), d: id("D"));
53 test4(e: id("E"), a: id("A"), d: id("D"), b: id("B"), c: id("C"));
54 test4(id("A"), id("B"), id("C"), e: id("E"));

Completed in 46 milliseconds

12345678910>>...33