Home
last modified time | relevance | path

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

12345678910>>...34

/php-src/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-src/ext/mysqli/tests/
H A Dmysqli_query_iterators.phpt74 ["id"]=>
78 ["id"]=>
82 ["id"]=>
86 ["id"]=>
90 ["id"]=>
94 ["id"]=>
99 ["id"]=>
103 ["id"]=>
107 ["id"]=>
111 ["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`)
19 $id = '1311200011005001566';
40 $stmt->bind_param('i', $id);
43 echo "insert id:{$id}=>{$stmt->insert_id}\n";
54 echo "fetch id:{$row['id']}\n";
68 $stmt->bind_param('s', $id);
73 echo "insert id:{$id}\n";
83 echo "fetch id:{$row['id']}\n";
100 fetch id:1311200011005001566
102 insert id:1311200011005001566
[all …]
/php-src/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-src/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-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindcolumn.phpt23 $stmt = $db->prepare("SELECT id, label FROM {$table} ORDER BY id ASC LIMIT 2");
25 $id = $label = null;
38 var_export($id, true), gettype($id),
40 $data[] = array('id' => $id, 'label' => $label);
43 $stmt = $db->query("SELECT id, label FROM {$table} ORDER BY id ASC LIMIT 2");
46 if ($row['id'] != $data[$index]['id']) {
49 var_export($row['id'], true), gettype($row['id']));
78 var_export($id, true), gettype($id),
80 $data[] = array('id' => $id, 'label' => $label);
86 if ($row['id'] != $data[$index]['id']) {
[all …]
H A Dpdo_mysql_stmt_bindvalue.phpt25 $stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? ORDER BY id ASC LIMIT 2");
45 var_export($id, true), gettype($id),
67 var_export($id, true), gettype($id),
91 var_export($id, true), gettype($id),
96 …$stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? AND id <= ? ORDER BY id ASC LIMI…
120 var_export($id, true), gettype($id),
125 …$stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? AND id <= ? ORDER BY id ASC LIMI…
150 var_export($id, true), gettype($id),
185 var_export($id, true), gettype($id),
236 …$stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? AND id <= ? ORDER BY id ASC LIMI…
[all …]
H A Dpdo_mysql_multi_stmt_nextrowset.phpt25 … {$procedure}() BEGIN SELECT id FROM $table ORDER BY id ASC LIMIT 3; SELECT id, label FROM {$table…
88 ["id"]=>
93 ["id"]=>
98 ["id"]=>
105 ["id"]=>
112 ["id"]=>
119 ["id"]=>
131 ["id"]=>
136 ["id"]=>
141 ["id"]=>
[all …]
H A Dpdo_mysql_stmt_bindparam.phpt22 $stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? ORDER BY id ASC LIMIT 2");
29 $id = $label = null;
42 var_export($id, true), gettype($id),
50 var_export($id, true), gettype($id),
69 $id = $label = 'bogus';
81 var_export($id, true), gettype($id),
131 in = 0 -> id = 1 (integer) / label = 'a' (string)
132 in = 0 -> id = 2 (integer) / label = 'b' (string)
134 in = 0 -> id = 1 (integer) / label = 'a' (string)
135 in = 0 -> id = 2 (integer) / label = 'b' (string)
[all …]
H A Dbug41125.phpt44 $id = 'o\'\0';
45 $stmt->bindParam(':id', $id);
55 "SELECT 1 FROM DUAL WHERE 1 = :id AND '' AND 2 <> :id",
56 "SELECT 1 FROM DUAL WHERE 1 = :id AND '\'\'' = '''' AND 2 <> :id",
57 "SELECT 1 FROM DUAL WHERE 1 = :id AND '\'' = '''' AND 2 <> :id",
62 "SELECT 1 FROM DUAL WHERE :id AND '\\0' OR :id",
66 "SELECT 1 'FROM DUAL WHERE :id AND '''' = '''' OR 1 = 1 AND ':id",
70 $id = 1;
74 $stmt->bindParam(':id', $id);
114 [2] Query: [[SELECT 1 FROM DUAL WHERE 1 = :id AND '' AND 2 <> :id]]
[all …]
/php-src/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-src/ext/pgsql/tests/
H A Dpg_delete_001.phpt18 pg_query($conn, "CREATE TABLE {$table_name} (id INT, id2 INT)");
21 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 1));
22 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 2));
23 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 2));
24 pg_insert($conn, $table_name, array('id' => 3, 'id2' => 3));
31 pg_delete($conn, $table_name, array('id' => 1, 'id2' => 0));
43 pg_delete($conn, 'bar', array('id' => 1, 'id2' => 2));
65 ["id"]=>
72 ["id"]=>
81 ["id"]=>
[all …]
H A Dpg_update_001.phpt18 pg_query($conn, "CREATE TABLE {$table_name} (id INT, id2 INT)");
19 pg_query($conn, "CREATE TABLE {$schema_name}.{$table_name} (id INT, id2 INT)");
22 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 1));
23 pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 1, 'id2' => 2));
25 pg_update($conn, $table_name, array('id' => 10), array('id' => 1));
26 var_dump(pg_update($conn, $table_name, array('id' => 10), array('id' => 1), PGSQL_DML_STRING));
28 pg_update($conn, "{$schema_name}.{$table_name}", array('id' => 100), array('id2' => 2));
50 string(54) "UPDATE "table_pg_update_001" SET "id"=10 WHERE "id"=1;"
51 string(79) "UPDATE "schema_pg_update_001"."table_pg_update_001" SET "id"=100 WHERE "id2"=2;"
53 ["id"]=>
[all …]
H A D80_bug24499.phpt20 pg_query($dbh, "CREATE TABLE {$table_name} (id SERIAL, t INT)");
28 public $id;
35 $q = pg_query($dbh, "SELECT id FROM {$table_name}");
38 $id = pg_fetch_object($q);
39 var_dump($id);
40 return $id->id;
44 $id = new Id();
45 var_dump($id->getId());
64 [id] => 1
69 [id] => 2
[all …]
/php-src/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-src/ext/dom/tests/bug79701/
H A Dset_attribute_xml.phpt13 $fn($test1, 'xml:id', 'y');
19 $fn($test2, 'xml:id', 'x');
25 $fn($test1, 'xml:id', 'z');
31 $fn($test2, 'xml:id', 'z');
35 echo "--- Get id z ---\n";
49 <test1 xml:id="x"/>
50 <test2 xml:id="y"/>
91 --- Get id z ---
108 --- Get id z ---
125 --- Get id z ---
[all …]
H A Dset_attribute_ns_html.phpt10 <em id="x">1</em>
11 <strong id="y">2</strong>
42 echo "--- Get id z ---\n";
55 --- After resetting em's id ---
58 --- After resetting strong's id ---
61 --- After resetting em's id ---
64 --- After resetting strong's id ---
67 --- Get id z ---
72 --- After resetting em's id ---
78 --- After resetting em's id ---
[all …]
H A Dset_attribute_html.phpt7 foreach (["xml:id", "ID"] as $name) {
10 <em id="x">1</em>
11 <strong id="y">2</strong>
44 echo "--- Get id z ---\n";
50 === Attribute name xml:id ===
52 --- After resetting em's id ---
58 --- After resetting em's id ---
64 --- Get id z ---
69 --- After resetting em's id ---
75 --- After resetting em's id ---
[all …]
/php-src/ext/session/tests/user_session_module/
H A Dbug32330.phpt29 function read($id): string|false
31 echo "read: id = {$id}\n";
37 echo "write: id = {$id}, data = {$data}\n";
41 function destroy($id): bool
43 echo "destroy: id = {$id}\n";
74 read: id = %s
76 write: id = %s, data = A|s:1:"B";
79 read: id = %s
81 destroy: id = %s
84 read: id = %s
[all …]
/php-src/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

Completed in 41 milliseconds

12345678910>>...34