Home
last modified time | relevance | path

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

123456789

/PHP-5.4/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_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_emulated.phpt179 $stmt = prepex(38, $db, 'SELECT id, label AS "label" FROM test WHERE label = :placeholder',
237 prepex(60, $db, 'SELECT id, label FROM test WHERE label > ?',
288 $stmt = prepex(78, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?',
304 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
338 [%u|b%"label"]=>
345 [%u|b%"label"]=>
352 [%u|b%"label"]=>
357 [%u|b%"label"]=>
366 [%u|b%"label"]=>
373 [%u|b%"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_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 …]
H A Dpdo_mysql_types.phpt23 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)');
31 $stmt = $db->query('SELECT id, label FROM test');
35 if (!isset($row['id']) || !isset($row['label'])) {
46 if (!preg_match($pattern, $row['label'])) {
48 $offset, $pattern, var_export($row['label'], true));
60 …if ($row['label'] !== $exp && !is_null($alternative_type) && gettype($row['label']) != $alternativ…
63 var_export($row['label'], true), gettype($row['label']),
71 $stmt = $db->query('SELECT id, label FROM test');
74 if (is_null($pattern) && ($row['label'] != $row_string['label'])) {
75 …= %s, NATIVE = %s\n", $sql_type, var_export($row_string['label'], true), var_export($row['label'],…
[all …]
H A Dpdo_mysql_stmt_multiquery.phpt15 …$stmt = $db->query('SELECT label FROM test ORDER BY id ASC LIMIT 1; SELECT label FROM test ORDER B…
24 …$stmt = $db->query('SELECT label FROM test ORDER BY id ASC LIMIT 1; SELECT label FROM test ORDER B…
72 [%u|b%"label"]=>
87 [%u|b%"label"]=>
94 [%u|b%"label"]=>
100 …onds to your %s server version for the right syntax to use near '%SSELECT label FROM test ORDER BY…
/PHP-5.4/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 [%u|b%"label"]=>
96 [%u|b%"label"]=>
103 [%u|b%"label"]=>
110 [%u|b%"label"]=>
117 [%u|b%"label"]=>
126 [%u|b%"label"]=>
[all …]
H A Dmysqli_stmt_bind_param_call_user_func.phpt29 $id = $label = null;
36 var_dump($label);
58 $id = $label = null;
65 var_dump($label);
93 var_dump($label);
121 var_dump($label);
148 var_dump($label);
177 var_dump($label);
206 var_dump($label);
235 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_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 …]
H A Dmysqli_last_insert_id.phpt129 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
171 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
184 id = %d, label = 'b'
185 id = %d, label = 'a'
186 id = %d, label = 'c'
188 id = %d, label = 'b'
189 id = %d, label = 'a'
190 id = %d, label = 'c'
191 id = %d, label = 'a%d'
192 id = %d, label = 'c%d'
[all …]
H A Dmysqli_stmt_bind_param.phpt41 $label = null;
58 $param = array($id, $label, $id);
88 $label = "z";
97 if (($row['id'] != $id) || ($row['label'] != $label))
98 printf("[012] Expecting '%s'/%s', got '%s'/%s'!\n", $id, $label, $row['id'], $row['label']);
315 $label = null;
333 $id = $label = null;
339 $id = 100; $label = 'z';
355 $value_list = array(array('id' => 101, 'label' => 'a'), array('id' => 102, 'label' => 'b'));
373 else if (isset($row['label']) && ($values['label'] != $row['label']))
[all …]
H A Dmysqli_fetch_array_many_rows.phpt16 if (!mysqli_query($link, $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, '%s')",
23 if (!$res = mysqli_query($link, 'SELECT id, label FROM test')) {
29 $row['label'] = NULL;
33 if (!$res = mysqli_query($link, 'SELECT id, label FROM test')) {
64 if ($row[1] !== $row['label']) {
65 printf("[007] Unexpected result row[1] = '%s', row[label] = '%s', [%d] %s\n",
66 $row[1], $row['label'], mysqli_errno($link), mysqli_error($link));
73 if (!$res = mysqli_query($link, 'SELECT id, label FROM test')) {
79 $row['label'] = NULL;
90 if (!$res = mysqli_query($link, 'SELECT id, label FROM test')) {
H A Dmysqli_affected_rows_oo.phpt31 if (!$mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a')"))
38 $mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a')");
42 if (!$mysqli->query("INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id = 4"))
48 if (!$mysqli->query("INSERT INTO test(id, label) VALUES (2, 'b'), (3, 'c')"))
54 if (!$mysqli->query("INSERT IGNORE INTO test(id, label) VALUES (1, 'a')")) {
61 if (!$mysqli->query("INSERT INTO test(id, label) SELECT id + 10, label FROM test"))
67 if (!$mysqli->query("REPLACE INTO test(id, label) values (4, 'd')"))
73 if (!$mysqli->query("REPLACE INTO test(id, label) values (5, 'e')"))
79 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 2"))
85 if (!$mysqli->query("UPDATE test SET label = 'a' WHERE id = 2")) {
[all …]
/PHP-5.4/ext/simplexml/tests/
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-5.4/ext/phar/tests/zip/
H A Dbug48791.phpt14label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-…

Completed in 49 milliseconds

123456789