Home
last modified time | relevance | path

Searched refs:label (Results 26 – 50 of 206) sorted by relevance

123456789

/PHP-5.5/Zend/tests/
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"
H A Djump06.phpt2 jump 06: goto to undefined label
8 Fatal error: 'goto' to undefined label 'L1' in %sjump06.php on line 2
H A Dtry_finally_005.phpt8 goto label;
10 label:
/PHP-5.5/ext/mysqli/tests/
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 …]
H A Dmysqli_stmt_get_result2.phpt37 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 1"))
70 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") ||
74 $id = $label = null;
75 if (!mysqli_stmt_bind_result($stmt, $id, $label))
98 $id = $label = null;
99 if (!mysqli_stmt_bind_result($stmt, $id, $label))
117 $id = $label = null;
118 if (!mysqli_stmt_bind_result($stmt, $id, $label))
122 if (NULL !== $id || NULL !== $label)
162 [%u|b%"label"]=>
[all …]
H A Dmysqli_stmt_close.phpt31 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test"))
43 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)"))
46 $id = $label = null;
47 if (!mysqli_stmt_bind_param($stmt, "is", $id, $label))
50 $id = 100; $label = 'z';
65 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test"))
68 $id = $label = null;
69 if (!mysqli_stmt_bind_result($stmt, $id, $label))
H A Dmysqli_stmt_store_result.phpt34 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (100, 'z')") ||
41 if (!mysqli_stmt_prepare($stmt, 'SELECT id, label FROM test ORDER BY id') ||
51 if (!mysqli_stmt_prepare($stmt_buf, "SELECT id, label FROM test ORDER BY id") ||
55 $id = $label = $id_buf = $label_buf = null;
56 if (!mysqli_stmt_bind_result($stmt, $id, $label))
70 if ($label !== $label_buf)
72 $label, gettype($label), $label_buf, gettype($label_buf));
H A Dmysqli_affected_rows.phpt39 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a')"))
46 mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a')");
50 …if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id =…
56 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (2, 'b'), (3, 'c')"))
62 if (!mysqli_query($link, "INSERT IGNORE INTO test(id, label) VALUES (1, 'a')")) {
69 if (!mysqli_query($link, "INSERT INTO test(id, label) SELECT id + 10, label FROM test"))
75 if (!mysqli_query($link, "REPLACE INTO test(id, label) values (4, 'd')"))
81 if (!mysqli_query($link, "REPLACE INTO test(id, label) values (5, 'e')"))
87 if (!mysqli_query($link, "UPDATE test SET label = 'a' WHERE id = 2"))
105 if (!mysqli_query($link, "UPDATE test SET label = 'a' WHERE id = 2")) {
[all …]
H A Dmysqli_stmt_reset.phpt61 …if (!mysqli_query($link, "CREATE TABLE test(id INT NOT NULL AUTO_INCREMENT, label BLOB, PRIMARY KE…
64 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(label) VALUES (?)"))
67 $label = null;
68 if (!mysqli_stmt_bind_param($stmt, "b", $label))
71 $label = 'abc';
73 if (!mysqli_stmt_send_long_data($stmt, 0, $label))
83 if (!$res = mysqli_query($link, "SELECT label FROM test"))
91 if ($row['label'] != '')
92 printf("[020] Expecting empty string, got string/%s\n", $row['label']);
H A Dmysqli_fetch_array_large.phpt18 $sql = "INSERT INTO test(label) VALUES ";
40 if (!$res = mysqli_query($link, "SELECT id, label FROM test")) {
46 if ($row['label'] != $random_char) {
48 $offset, $random_char, $row['label'], $len, mysqli_errno($link), mysqli_error($link));
54 if (!$stmt = mysqli_prepare($link, "SELECT id, label FROM test")) {
65 $id = $label = NULL;
66 if (!mysqli_stmt_bind_result($stmt, $id, $label)) {
72 if ($label != $random_char) {
74 $offset, $random_char, $label, $len, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
115 …k, sprintf("CREATE TABLE test(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, label VARCHAR(255)) ENGI…
H A Dmysqli_stmt_fetch_geom.phpt25 …if (!mysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s…
31 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value);
42 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test")) {
69 $rows[] = array('id' => $id, 'label' => $bind_res);
86 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)")) {
92 if (!mysqli_stmt_bind_param($stmt, "is", $new_id, $row['label'])) {
103 if (!$res_normal = mysqli_query($link, sprintf("SELECT id, label FROM test WHERE id = %d",
114 if ($row_normal['label'] != $row['label']) {
H A Dmysqli_fetch_array_assoc.phpt20 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 5")) {
39 [%u|b%"label"]=>
46 [%u|b%"label"]=>
H A Dmysqli_result_references_mysqlnd.phpt24 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 1")) ||
40 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2")) ||
69 [%u|b%"label"]=>
87 [%u|b%"label"]=>
101 [%u|b%"label"]=>
108 [%u|b%"label"]=>
/PHP-5.5/ext/pdo_mysql/tests/
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…
H A Dpdo_mysql_attr_fetch_table_names.phpt16 $stmt = $db->query('SELECT label FROM test LIMIT 1');
21 $stmt = $db->query('SELECT label FROM test LIMIT 1');
31 [%u|b%"test.label"]=>
38 [%u|b%"label"]=>
H A Dpdo_mysql_stmt_unbuffered_2050.phpt27 $stmt = $db->query('SELECT id, label FROM test WHERE id = 1');
29 $stmt = $db->query('SELECT id, label FROM test WHERE id = 1');
35 $stmt = $db->query('SELECT id, label FROM test WHERE id = 1');
87 $stmt = $db->query('SELECT id, label FROM test WHERE id = 1');
99 $stmt = $db->query('SELECT id, label FROM test WHERE id = 1');
126 [%u|b%"label"]=>
135 [%u|b%"label"]=>
153 [%u|b%"label"]=>
162 [%u|b%"label"]=>
171 [%u|b%"label"]=>
[all …]
H A Dpdo_mysql_stmt_bindparam_types.phpt24 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE…
29 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (1, ?)');
41 $stmt = $db->query('SELECT id, label FROM test');
42 $id = $label = null;
48 if (!$stmt->bindColumn(2, $label)) {
61 if ($label != $value) {
64 var_export($label, true), var_export($value, true));
76 if ($row['label'] != $value) {
79 var_export($row['label'], true), var_export($value, true));
83 if ($row['label'] != $label) {
[all …]
H A Dpdo_mysql_stmt_nextrowset.phpt148 [%u|b%"label"]=>
155 [%u|b%"label"]=>
162 [%u|b%"label"]=>
197 [%u|b%"label"]=>
204 [%u|b%"label"]=>
211 [%u|b%"label"]=>
247 [%u|b%"label"]=>
254 [%u|b%"label"]=>
261 [%u|b%"label"]=>
296 [%u|b%"label"]=>
[all …]
H A Dpdo_mysql_commit.phpt40 $db->exec("INSERT INTO test(id, label) VALUES (100, 'z')");
47 $stmt = $db->query('SELECT id, label FROM test WHERE id = 100');
49 if (!isset($rows[0]['label']) || ($rows[0]['label'] != 'z')) {
62 $db->exec("INSERT INTO test(id, label) VALUES (100, 'z')");
68 $stmt = $db->query('SELECT id, label FROM test WHERE id = 100');
70 if (!isset($rows[0]['label']) || ($rows[0]['label'] != 'z')) {
H A Dpdo_mysql_prepare_native_mixed_style.phpt21 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (1, ?), (2, ?)');
23 …$stmt = $db->prepare("SELECT id, label FROM test WHERE id = :placeholder AND label = (SELECT label
H A Dpdo_mysql_prepare_emulated_anonymous.phpt21 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
23 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES(1, '?')");
31 $stmt = $db->prepare('SELECT id, label FROM test');
42 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES(1, '?')");
50 $stmt = $db->prepare('SELECT id, label FROM test');
73 [%u|b%"label"]=>
/PHP-5.5/ext/mysql/tests/
H A Dmysql_affected_rows.phpt39 if (!mysql_query("INSERT INTO test(id, label) VALUES (1, 'a')", $link))
46 @mysql_query("INSERT INTO test(id, label) VALUES (1, 'a')", $link);
50 if (!mysql_query("INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDATE id = 4", $lin…
56 if (!mysql_query("INSERT INTO test(id, label) VALUES (2, 'b'), (3, 'c')", $link))
62 if (!mysql_query("INSERT IGNORE INTO test(id, label) VALUES (1, 'a')", $link)) {
69 if (!mysql_query("INSERT INTO test(id, label) SELECT id + 10, label FROM test", $link))
75 if (!mysql_query("REPLACE INTO test(id, label) values (4, 'd')", $link))
81 if (!mysql_query("REPLACE INTO test(id, label) values (5, 'e')", $link))
87 if (!mysql_query("UPDATE test SET label = 'a' WHERE id = 2", $link))
93 if (!mysql_query("UPDATE test SET label = 'a' WHERE id = 2", $link)) {
[all …]
H A Dmysql_db_query.phpt28 if (!$res = @mysql_db_query($db, 'SELECT id, label FROM test ORDER BY id LIMIT 1', $link))
33 printf("[005] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
35 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($row['label'])) {
43 if (!$res = @mysql_db_query($db, 'SELECT id, label FROM test ORDER BY id LIMIT 1'))
48 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
50 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($row['label'])) {

Completed in 29 milliseconds

123456789