Home
last modified time | relevance | path

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

12345678910>>...33

/PHP-8.3/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.3/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.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.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";
101 fetch id:1311200011005001566
103 insert id:1311200011005001566
[all …]
/PHP-8.3/ext/dom/tests/
H A DDOMElement_id.phpt2 DOMElement::id
18 var_dump($div->id);
20 var_dump($div->id);
21 $div->id = "";
22 var_dump($div->id);
23 $div->id = "é";
24 var_dump($div->id);
25 $div->id = "\0";
26 var_dump($div->id);
27 $div->id = 12345;
[all …]
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.3/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.3/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.3/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.3/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.3/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.3/ext/session/tests/user_session_module/
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 …]
/PHP-8.3/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.3/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 43 milliseconds

12345678910>>...33