Home
last modified time | relevance | path

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

12345678910

/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindcolumn.phpt25 $id = $label = null;
39 var_export($label, true), gettype($label));
40 $data[] = array('id' => $id, 'label' => $label);
51 if ($row['label'] != $data[$index]['label']) {
53 var_export($data[$index]['label'], true), gettype($data[$index]['label']),
54 var_export($row['label'], true), gettype($row['label']));
65 $id = $label = null;
79 var_export($label, true), gettype($label));
80 $data[] = array('id' => $id, 'label' => $label);
91 if ($row['label'] != $data[$index]['label']) {
[all …]
H A Dpdo_mysql_stmt_bindparam.phpt29 $id = $label = null;
43 var_export($label, true), gettype($label));
51 var_export($label, true), gettype($label));
56 $label = null;
57 if (!$stmt->bindParam(1, $label))
69 $id = $label = 'bogus';
82 var_export($label, true), gettype($label));
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)
[all …]
H A Dpdo_mysql_stmt_bindvalue.phpt32 $id = $label = null;
46 var_export($label, true), gettype($label));
68 var_export($label, true), gettype($label));
92 var_export($label, true), gettype($label));
121 var_export($label, true), gettype($label));
151 var_export($label, true), gettype($label));
186 var_export($label, true), gettype($label));
208 var_export($label, true), gettype($label));
232 var_export($label, true), gettype($label));
261 var_export($label, true), gettype($label));
[all …]
H A Dpdo_mysql_prepare_native_anonymous_placeholder.phpt123 array('id', 'label', 'value'));
130 … prepex(13, $db, 'SELECT id, label FROM test_prepare_native_anonymous_placeholder WHERE label > ?',
142 "label" => "row"
146 "label" => "row"
198 …$stmt = prepex(29, $db, 'SELECT id, label AS "label" FROM test_prepare_native_anonymous_placeholde…
215 …$sql = sprintf("SELECT id, label FROM test_prepare_native_anonymous_placeholder WHERE (label LIKE …
221 …$sql = sprintf("SELECT id, label FROM test_prepare_native_anonymous_placeholder WHERE (id = ?) OR…
227 …$sql = "SELECT id, label FROM test_prepare_native_anonymous_placeholder WHERE id = ? AND label = (…
250 ["label"]=>
257 ["label"]=>
[all …]
H A Dpdo_mysql_stmt_closecursor_empty.phpt26 $stmt = $db->prepare("SELECT id, label FROM {$table} WHERE id > ? ORDER BY id ASC LIMIT 2");
33 $id = $label = null;
39 if (!$stmt->bindColumn(2, $label, PDO::PARAM_STR))
44 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
47 var_export($label, true), gettype($label));
52 printf("in = %d -> id = %s (%s) / label = %s (%s)\n",
55 var_export($label, true), gettype($label));
71 in = 0 -> id = 1 (integer) / label = 'a' (string)
72 in = 0 -> id = 2 (integer) / label = 'b' (string)
73 in = 0 -> id = 1 (integer) / label = 'a' (string)
[all …]
H A Dpdo_mysql_prepare_emulated_myisam_index.phpt100 … prepex(6, $db, 'INSERT INTO test_prepare_emulated_myisam_index(id, label) VALUES (1, ?)',
102 … prepex(7, $db, 'INSERT INTO test_prepare_emulated_myisam_index(id, label) VALUES (1, ?)',
104 …$stmt = prepex(8, $db, 'SELECT id, label FROM test_prepare_emulated_myisam_index WHERE MATCH label
114 … prepex(10, $db, 'INSERT INTO test_prepare_emulated_myisam_index(id, label) VALUES (1, ?), (2, ?)',
117 …$stmt = prepex(11, $db, 'SELECT id, label FROM "test_prepare_emulated_myisam_index WHERE MATCH lab…
123 …$stmt = prepex(12, $db, 'SELECT id, label FROM \'test_prepare_emulated_myisam_index WHERE MATCH la…
128 …$stmt = prepex(13, $db, 'SELECT id, label AS "label" FROM test_prepare_emulated_myisam_index WHERE…
131 …$sql = sprintf("SELECT id, label FROM test_prepare_emulated_myisam_index WHERE (label LIKE %s) AND…
138 …$sql = sprintf("SELECT id, label FROM test_prepare_emulated_myisam_index WHERE (id = ?) OR (label
144 …$sql = "SELECT id, label FROM test_prepare_emulated_myisam_index WHERE id = ? AND label = (SELECT
[all …]
H A Dpdo_mysql_prepare_match_against.phpt16 $db->exec('CREATE TABLE test_prepare_match_against(id INT, label CHAR(255)) ENGINE=MyISAM');
17 $db->exec('CREATE FULLTEXT INDEX idx1 ON test_prepare_match_against(label)');
19 …$stmt = $db->prepare('SELECT id, label FROM test_prepare_match_against WHERE MATCH label AGAINST (…
23 …$stmt = $db->prepare('SELECT id, label FROM test_prepare_match_against WHERE MATCH label AGAINST (…
27 …$stmt = $db->prepare('SELECT id, label FROM test_prepare_match_against WHERE MATCH label AGAINST (…
H A Dpdo_mysql_prepare_emulated_anonymous_placeholders.phpt98 $stmt = prepex(6, $db, 'SELECT label FROM test_prepare_emulated_anonymous_placeholder');
104 $stmt = prepex(9, $db, 'SELECT label FROM test_prepare_emulated_anonymous_placeholder');
112 $stmt = prepex(13, $db, 'SELECT label FROM test_prepare_emulated_anonymous_placeholder');
116 prepex(14, $db, 'SELECT label FROM test_prepare_emulated_anonymous_placeholder WHERE ? > 1',
124 array('id', 'label', 'value'));
131 …prepex(18, $db, 'SELECT id, label FROM test_prepare_emulated_anonymous_placeholder WHERE label > ?…
168 ["label"]=>
179 ["label"]=>
184 ["label"]=>
193 ["label"]=>
[all …]
H A Dpdo_mysql_prepare_emulated_myisam.phpt95 …prepex(4, $db, 'CREATE TABLE test_prepare_emulated_myisam(id INT, label CHAR(255)) ENGINE=MyISAM');
96 … (is_object(prepex(5, $db, 'CREATE FULLTEXT INDEX idx1 ON test_prepare_emulated_myisam(label)'))) {
97 … prepex(6, $db, 'INSERT INTO test_prepare_emulated_myisam(id, label) VALUES (1, :placeholder)',
99 … prepex(7, $db, 'INSERT INTO test_prepare_emulated_myisam(id, label) VALUES (1, :placeholder)',
101 …$stmt = prepex(8, $db, 'SELECT id, label FROM test_prepare_emulated_myisam WHERE MATCH label AGAIN…
113 …$stmt = prepex(11, $db, 'SELECT id, label FROM "test_prepare_emulated_myisam WHERE MATCH label AGA…
117 …$stmt = prepex(12, $db, 'SELECT id, label FROM \'test_prepare_emulated_myisam WHERE MATCH label AG…
121 …$stmt = prepex(13, $db, 'SELECT id, label AS "label" FROM test_prepare_emulated_myisam WHERE label
124 …$sql = sprintf("SELECT id, label FROM test_prepare_emulated_myisam WHERE (label LIKE %s) AND (id =…
131 …$sql = sprintf("SELECT id, label FROM test_prepare_emulated_myisam WHERE (id = :placeholder) OR (
[all …]
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt21 …tf('CREATE TABLE test_prepare_native_named_placeholder_everywhere(id INT, label CHAR(255)) ENGINE=…
22 …$db->exec("INSERT INTO test_prepare_native_named_placeholder_everywhere(id, label) VALUES (1, 'row…
24 …$stmt = $db->prepare('SELECT ?, id, label FROM test_prepare_native_named_placeholder_everywhere WH…
25 $stmt->execute(array('id', 'label', 'label'));
38 …$stmt = $db->prepare('SELECT ?, id, label FROM test_prepare_native_named_placeholder_everywhere WH…
39 $stmt->execute(array('id', 'label', 'label'));
66 ["label"]=>
78 ["label"]=>
H A Dpdo_mysql_prepare_native_myisam_index.phpt104 …prepex(4, $db, 'CREATE TABLE test_prepare_native_myisam_index(id INT, label CHAR(255)) ENGINE=MyIS…
106 prepex(6, $db, 'INSERT INTO test_prepare_native_myisam_index(id, label) VALUES (1, ?)',
108 prepex(7, $db, 'INSERT INTO test_prepare_native_myisam_index(id, label) VALUES (1, ?)',
110 …$stmt = prepex(8, $db, 'SELECT id, label FROM test_prepare_native_myisam_index WHERE MATCH label A…
120 … prepex(10, $db, 'INSERT INTO test_prepare_native_myisam_index(id, label) VALUES (1, ?), (2, ?)',
125 …$stmt = prepex(11, $db, 'SELECT id, label FROM \'test_prepare_native_myisam_index WHERE MATCH labe…
130 …$stmt = prepex(12, $db, 'SELECT id, label AS "label" FROM test_prepare_native_myisam_index WHERE l…
134 0 => array("id" => "1", "label" => "row1")
147 …$sql = sprintf("SELECT id, label FROM test_prepare_native_myisam_index WHERE (label LIKE %s) AND (…
153 …$sql = sprintf("SELECT id, label FROM test_prepare_native_myisam_index WHERE (id = ?) OR (label L…
[all …]
H A Dpdo_mysql_stmt_closecursor.phpt55 if (!isset($row2['label']) || ('z' !== $row2['label']))
89 $id = $label = null;
103 var_export($label, true), gettype($label));
160 in = 0 -> id = 1 (integer) / label = 'a' (string)
161 in = 0 -> id = 2 (integer) / label = 'b' (string)
165 in = 0 -> id = 1 (integer) / label = 'a' (string)
166 in = 0 -> id = 2 (integer) / label = 'b' (string)
171 in = 0 -> id = 1 (integer) / label = 'a' (string)
172 in = 0 -> id = 2 (integer) / label = 'b' (string)
176 in = 0 -> id = 1 (integer) / label = 'a' (string)
[all …]
H A Dpdo_mysql_multi_stmt_nextrowset.phpt107 ["label"]=>
114 ["label"]=>
121 ["label"]=>
150 ["label"]=>
157 ["label"]=>
164 ["label"]=>
198 ["label"]=>
205 ["label"]=>
212 ["label"]=>
241 ["label"]=>
[all …]
H A Dpdo_mysql_prepare_emulated.phpt101 $stmt = prepex(8, $db, 'SELECT label FROM test_prepare_emulated');
107 $stmt = prepex(11, $db, 'SELECT label FROM test_prepare_emulated');
115 $stmt = prepex(15, $db, 'SELECT label FROM test_prepare_emulated');
119 prepex(16, $db, 'SELECT label FROM test_prepare_emulated WHERE :placeholder > 1',
131 … prepex(19, $db, 'SELECT id, label FROM test_prepare_emulated WHERE label > :placeholder',
138 $stmt = prepex(22, $db, 'SELECT id, label FROM test_prepare_emulated');
173 ["label"]=>
184 ["label"]=>
189 ["label"]=>
198 ["label"]=>
[all …]
/php-src/ext/simplexml/tests/
H A Dbug72588.phpt14 <object type="obj_1" label="Label for object 1"></object>
15 <object type="obj_2" label="Label for object 2"></object>
16 <object type="obj_3" label="Label for object 3"></object>
17 <object type="obj_4" label="Label for object 4"></object>
18 <object type="obj_5" label="Label for object 5"></object>
19 <object type="obj_6" label="Label for object 6"></object>
20 <object type="obj_7" label="Label for object 7"></object>
21 <object type="obj_8" label="Label for object 8"></object>
22 <object type="obj_9" label="Label for object 9"></object>
23 <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-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_references.phpt37 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;
113 $id = &$label;
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.phpt18 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2")) ||
27 'label' => $row['label'] . '');
38 'label' => $row['label'] . '');
56 'label' => $row['label'] . '');
94 ["label"]=>
103 ["label"]=>
112 ["label"]=>
121 ["label"]=>
130 ["label"]=>
143 ["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.phpt29 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,…
38 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
44 $id = $_label0 = $label = null;
45 … $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value);
48 !mysqli_stmt_bind_result($stmt, $id, $_label0, $label))
55 …SQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $bits, $value, $bits, $id, $_label0…
57 if ($value != $label) {
58 …f("[008 - %d] Wrong values, (original) value = %s, id = %s, label + 0 AS label0 = %s, label = %s\…
59 $bits, $value, $id, $_label0, $label);
H A Dmysqli_stmt_execute_bind.phpt18 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
25 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
31 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
40 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
49 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
58 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
67 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
76 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
85 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?');
93 $stmt = $link->prepare('SELECT label FROM test WHERE id=1');
[all …]
/php-src/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;

Completed in 51 milliseconds

12345678910