Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 193) sorted by relevance

12345678

/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindcolumn.phpt23 $id = $label = null;
37 var_export($label, true), gettype($label));
38 $data[] = array('id' => $id, 'label' => $label);
49 if ($row['label'] != $data[$index]['label']) {
51 var_export($data[$index]['label'], true), gettype($data[$index]['label']),
52 var_export($row['label'], true), gettype($row['label']));
63 $id = $label = null;
77 var_export($label, true), gettype($label));
78 $data[] = array('id' => $id, 'label' => $label);
89 if ($row['label'] != $data[$index]['label']) {
[all …]
H A Dpdo_mysql_stmt_bindparam.phpt26 $id = $label = null;
40 var_export($label, true), gettype($label));
48 var_export($label, true), gettype($label));
53 $label = null;
54 if (!$stmt->bindParam(1, $label))
66 $id = $label = 'bogus';
79 var_export($label, true), gettype($label));
127 in = 0 -> id = 1 (integer) / label = 'a' (string)
128 in = 0 -> id = 2 (integer) / label = 'b' (string)
130 in = 0 -> id = 1 (integer) / label = 'a' (string)
[all …]
H A Dpdo_mysql_prepare_emulated.phpt181 $stmt = prepex(38, $db, 'SELECT id, label AS "label" FROM test WHERE label = :placeholder',
290 $stmt = prepex(78, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?',
338 ["label"]=>
349 ["label"]=>
354 ["label"]=>
363 ["label"]=>
370 ["label"]=>
377 ["label"]=>
388 ["label"]=>
393 ["label"]=>
[all …]
H A Dpdo_mysql_stmt_bindvalue.phpt30 $id = $label = null;
44 var_export($label, true), gettype($label));
66 var_export($label, true), gettype($label));
90 var_export($label, true), gettype($label));
119 var_export($label, true), gettype($label));
149 var_export($label, true), gettype($label));
184 var_export($label, true), gettype($label));
206 var_export($label, true), gettype($label));
230 var_export($label, true), gettype($label));
259 var_export($label, true), gettype($label));
[all …]
H A Dpdo_mysql_prepare_native.phpt146 prepex(16, $db, 'SELECT id, label FROM test WHERE label > :placeholder',
231 prepex(43, $db, 'SELECT id, label FROM test WHERE label > ?',
299 $stmt = prepex(59, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?',
316 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = ?)",
328 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
351 ["label"]=>
358 ["label"]=>
363 ["label"]=>
372 ["label"]=>
379 ["label"]=>
[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;
38 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
43 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
46 var_export($label, true), gettype($label));
51 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
54 var_export($label, true), gettype($label));
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 …]
H A Dpdo_mysql_prepare_match_against.phpt17 $db->exec('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
18 $db->exec('CREATE FULLTEXT INDEX idx1 ON test(label)');
20 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)');
24 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)');
28 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (?)');
H A Dpdo_mysql_stmt_closecursor.phpt52 if (!isset($row2['label']) || ('z' !== $row2['label']))
86 $id = $label = null;
100 var_export($label, true), gettype($label));
158 in = 0 -> id = 1 (integer) / label = 'a' (string)
159 in = 0 -> id = 2 (integer) / label = 'b' (string)
163 in = 0 -> id = 1 (integer) / label = 'a' (string)
164 in = 0 -> id = 2 (integer) / label = 'b' (string)
169 in = 0 -> id = 1 (integer) / label = 'a' (string)
170 in = 0 -> id = 2 (integer) / label = 'b' (string)
174 in = 0 -> id = 1 (integer) / label = 'a' (string)
[all …]
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt20 … $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
21 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
23 $stmt = $db->prepare('SELECT ?, id, label FROM test WHERE ? = ? ORDER BY id ASC');
24 $stmt->execute(array('id', 'label', 'label'));
37 $stmt = $db->prepare('SELECT ?, id, label FROM test WHERE ? = ? ORDER BY id ASC');
38 $stmt->execute(array('id', 'label', 'label'));
74 ["label"]=>
86 ["label"]=>
H A Dpdo_mysql_stmt_blobs.phpt28 …$db->exec(sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, PDO_MYSQL_TEST_ENGIN…
31 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)');
40 $stmt = $db->query('SELECT id, label FROM test');
41 $id = $label = NULL;
43 $stmt->bindColumn(2, $label, PDO::PARAM_LOB);
51 if ($label !== $value) {
53 $offset, strlen($label), strlen($value));
63 $stmt = $db->query('SELECT id, label FROM test');
66 if ($ret['label'] !== $value) {
68 $offset, strlen($ret['label']), strlen($value));
H A Dpdo_mysql_multi_stmt_nextrowset.phpt114 ["label"]=>
121 ["label"]=>
128 ["label"]=>
157 ["label"]=>
164 ["label"]=>
171 ["label"]=>
205 ["label"]=>
212 ["label"]=>
219 ["label"]=>
248 ["label"]=>
[all …]
/PHP-8.0/ext/simplexml/tests/
H A Dbug72588.phpt16 <object type="obj_1" label="Label for object 1"></object>
17 <object type="obj_2" label="Label for object 2"></object>
18 <object type="obj_3" label="Label for object 3"></object>
19 <object type="obj_4" label="Label for object 4"></object>
20 <object type="obj_5" label="Label for object 5"></object>
21 <object type="obj_6" label="Label for object 6"></object>
22 <object type="obj_7" label="Label for object 7"></object>
23 <object type="obj_8" label="Label for object 8"></object>
24 <object type="obj_9" label="Label for object 9"></object>
25 <object type="obj_10" label="Label for object 10"></object>
[all …]
H A Dbug45553.phpt9 <data a:label="I am A" label="I am Nothing">test1</data>
10 <a:data a:label="I am a:A" label="I am a:Nothing">test2</a:data>
17 $atts = $x->xpath("/xml/data/@a:label");
21 $atts = $x->xpath("/xml/a:data/@a:label");
23 $atts = $x->xpath("/xml/a:data/@label");
25 $atts = $x->xpath("/xml/data/@label");
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_references.phpt36 if ($row['label'] != $label) {
38 $offset, gettype($label), $label,
39 gettype($row['label']), $row['label']
62 $label = 'v';
73 $label = 'w';
83 $label = 'x';
93 $label = $id;
111 $label = 9;
112 $id = &$label;
156 $label->label = 'y';
[all …]
H A Dmysqli_stmt_bind_result_references.phpt22 $id = $label = null;
30 var_dump($label);
37 $label = null;
48 var_dump($label);
56 $label = null;
70 var_dump($label);
76 $label = null;
91 $label = &$id;
124 $label = &$obj->label;
141 $label = &$obj->label;
[all …]
H A Dmysqli_result_references.phpt15 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2")) ||
24 'label' => $row['label'] . '');
35 'label' => $row['label'] . '');
53 'label' => $row['label'] . '');
89 ["label"]=>
96 ["label"]=>
103 ["label"]=>
110 ["label"]=>
117 ["label"]=>
126 ["label"]=>
[all …]
H A Dmysqli_stmt_fetch_bit.phpt26 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,…
35 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
41 $id = $_label0 = $label = null;
42 … $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value);
45 !mysqli_stmt_bind_result($stmt, $id, $_label0, $label))
52 …SQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $bits, $value, $bits, $id, $_label0…
54 if ($value != $label) {
55 …f("[008 - %d] Wrong values, (original) value = %s, id = %s, label + 0 AS label0 = %s, label = %s\…
56 $bits, $value, $id, $_label0, $label);
H A Dmysqli_stmt_bind_param_call_user_func.phpt24 $id = $label = null;
31 var_dump($label);
53 $id = $label = null;
60 var_dump($label);
88 var_dump($label);
116 var_dump($label);
143 var_dump($label);
172 var_dump($label);
201 var_dump($label);
230 var_dump($label);
[all …]
H A Dmysqli_stmt_attr_set.phpt136 $id = $label = NULL;
137 $stmt->bind_result($id, $label);
140 $results[$id] = $label;
150 $id = $label = NULL;
154 $results2[$id] = $label;
167 $id = $label = NULL;
171 $results2[$id] = $label;
196 $id = $label = NULL;
200 $results[$id] = $label;
223 $id = $label = NULL;
[all …]
H A Dmysqli_store_result_copy.phpt43 printf("id = %d, label = %s\n", $row['id'], $row['label']);
208 ["label"]=>
211 id = 1, label = a
212 id = 2, label = b
213 id = 3, label = c
214 id = 4, label = d
215 id = 5, label = e
248 id = 6 label = f
249 id = 5 label = e
253 ["label"]=>
[all …]
/PHP-8.0/Zend/tests/try/
H A Dfinally_goto_005.phpt2 There must be a difference between label: try { ... } and try { label: ... }
6 label: try {
7 goto label;
H A Dtry_finally_006.phpt11 goto label;
13 label:
14 echo "label\n";
25 label
H A Dtry_finally_007.phpt2 Try finally (with goto previous label)
7 label:
8 echo "label";
11 goto label;
H A Dtry_catch_finally_006.phpt10 goto label;
22 label:
23 var_dump("label");
34 string(5) "label"
H A Dtry_catch_finally_007.phpt11 goto label;
29 label:
30 var_dump("label");
41 string(5) "label"

Completed in 37 milliseconds

12345678