Home
last modified time | relevance | path

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

12345678

/PHP-7.3/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;
32 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
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)
[all …]
H A Dpdo_mysql_prepare_emulated.phpt179 $stmt = prepex(38, $db, 'SELECT id, label AS "label" FROM test WHERE label = :placeholder',
288 $stmt = prepex(78, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?',
338 ["label"]=>
345 ["label"]=>
352 ["label"]=>
357 ["label"]=>
366 ["label"]=>
373 ["label"]=>
380 ["label"]=>
387 ["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.phpt229 prepex(43, $db, 'SELECT id, label FROM test WHERE label > ?',
241 "label" => "row"
245 "label" => "row"
297 $stmt = prepex(59, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?',
326 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
348 ["label"]=>
355 ["label"]=>
360 ["label"]=>
369 ["label"]=>
376 ["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.phpt115 ["label"]=>
122 ["label"]=>
129 ["label"]=>
156 ["label"]=>
163 ["label"]=>
170 ["label"]=>
200 ["label"]=>
207 ["label"]=>
214 ["label"]=>
241 ["label"]=>
[all …]
H A Dpdo_mysql_types_zerofill.phpt16 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE…
23 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)');
38 $stmt = $db->query('SELECT id, label FROM test');
41 if (!isset($row['id']) || !isset($row['label'])) {
53 if (!preg_match($pattern, $row['label'])) {
55 $offset, $pattern, var_export($row['label'], true));
68 if ($row['label'] !== $exp) {
71 var_export($row['label'], true), gettype($row['label']));
78 $stmt = $db->query('SELECT id, label FROM test');
81 if ($row['label'] != $row_string['label']) {
[all …]
/PHP-7.3/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-7.3/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_references.phpt16 $id, $label);
37 if ($row['label'] != $label) {
39 $offset, gettype($label), $label,
40 gettype($row['label']), $row['label']
63 $label = 'v';
74 $label = 'w';
84 $label = 'x';
94 $label = $id;
112 $label = 9;
157 $label->label = 'y';
[all …]
H A Dmysqli_stmt_bind_result_references.phpt23 $id = $label = null;
31 var_dump($label);
38 $label = null;
49 var_dump($label);
57 $label = null;
71 var_dump($label);
77 $label = null;
92 $label = &$id;
125 $label = &$obj->label;
142 $label = &$obj->label;
[all …]
H A Dmysqli_result_references.phpt16 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2")) ||
25 'label' => $row['label'] . '');
36 'label' => $row['label'] . '');
54 'label' => $row['label'] . '');
89 ["label"]=>
96 ["label"]=>
103 ["label"]=>
110 ["label"]=>
117 ["label"]=>
126 ["label"]=>
[all …]
H A Dmysqli_stmt_bind_param_call_user_func.phpt25 $id = $label = null;
32 var_dump($label);
54 $id = $label = null;
61 var_dump($label);
89 var_dump($label);
117 var_dump($label);
144 var_dump($label);
173 var_dump($label);
202 var_dump($label);
231 var_dump($label);
[all …]
H A Dmysqli_stmt_fetch_bit.phpt30 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,…
39 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
45 $id = $_label0 = $label = null;
46 $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value);
49 !mysqli_stmt_bind_result($stmt, $id, $_label0, $label))
56 …SQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $bits, $value, $bits, $id, $_label0…
58 if ($value != $label) {
59 …f("[008 - %d] Wrong values, (original) value = %s, id = %s, label + 0 AS label0 = %s, label = %s\…
60 $bits, $value, $id, $_label0, $label);
H A Dmysqli_store_result_copy.phpt44 printf("id = %d, label = %s\n", $row['id'], $row['label']);
125 printf("id = %d label = %s\n", $row['id'], $row['label']);
205 ["label"]=>
208 id = 1, label = a
209 id = 2, label = b
210 id = 3, label = c
211 id = 4, label = d
245 id = 6 label = f
246 id = 5 label = e
250 ["label"]=>
[all …]
H A Dmysqli_stmt_attr_set.phpt170 $id = $label = NULL;
171 $stmt->bind_result($id, $label);
174 $results[$id] = $label;
184 $id = $label = NULL;
188 $results2[$id] = $label;
201 $id = $label = NULL;
205 $results2[$id] = $label;
227 $id = $label = NULL;
231 $results[$id] = $label;
254 $id = $label = NULL;
[all …]
/PHP-7.3/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"

Completed in 40 milliseconds

12345678