/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 24 $id = $label = null; 38 var_export($label, true), gettype($label)); 39 $data[] = array('id' => $id, 'label' => $label); 50 if ($row['label'] != $data[$index]['label']) { 52 var_export($data[$index]['label'], true), gettype($data[$index]['label']), 53 var_export($row['label'], true), gettype($row['label'])); 64 $id = $label = null; 78 var_export($label, true), gettype($label)); 79 $data[] = array('id' => $id, 'label' => $label); 90 if ($row['label'] != $data[$index]['label']) { [all …]
|
H A D | pdo_mysql_stmt_bindparam.phpt | 27 $id = $label = null; 41 var_export($label, true), gettype($label)); 49 var_export($label, true), gettype($label)); 54 $label = null; 55 if (!$stmt->bindParam(1, $label)) 67 $id = $label = 'bogus'; 80 var_export($label, true), gettype($label)); 128 in = 0 -> id = 1 (integer) / label = 'a' (string) 129 in = 0 -> id = 2 (integer) / label = 'b' (string) 131 in = 0 -> id = 1 (integer) / label = 'a' (string) [all …]
|
H A D | pdo_mysql_prepare_emulated.phpt | 183 $stmt = prepex(38, $db, 'SELECT id, label AS "label" FROM test WHERE label = :placeholder', 292 $stmt = prepex(78, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?', 340 ["label"]=> 351 ["label"]=> 356 ["label"]=> 365 ["label"]=> 372 ["label"]=> 379 ["label"]=> 390 ["label"]=> 395 ["label"]=> [all …]
|
H A D | pdo_mysql_stmt_bindvalue.phpt | 31 $id = $label = null; 45 var_export($label, true), gettype($label)); 67 var_export($label, true), gettype($label)); 91 var_export($label, true), gettype($label)); 120 var_export($label, true), gettype($label)); 150 var_export($label, true), gettype($label)); 185 var_export($label, true), gettype($label)); 207 var_export($label, true), gettype($label)); 231 var_export($label, true), gettype($label)); 260 var_export($label, true), gettype($label)); [all …]
|
H A D | pdo_mysql_prepare_native.phpt | 147 prepex(16, $db, 'SELECT id, label FROM test WHERE label > :placeholder', 232 prepex(43, $db, 'SELECT id, label FROM test WHERE label > ?', 300 $stmt = prepex(59, $db, 'SELECT id, label AS "label" FROM test WHERE label = ?', 317 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = ?)", 329 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH… 352 ["label"]=> 359 ["label"]=> 364 ["label"]=> 373 ["label"]=> 380 ["label"]=> [all …]
|
H A D | pdo_mysql_stmt_closecursor_empty.phpt | 26 $stmt = $db->prepare('SELECT id, label FROM test 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 D | pdo_mysql_prepare_match_against.phpt | 18 $db->exec('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM'); 19 $db->exec('CREATE FULLTEXT INDEX idx1 ON test(label)'); 21 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)'); 25 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)'); 29 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (?)');
|
H A D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 23 … $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE)); 24 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')"); 26 $stmt = $db->prepare('SELECT ?, id, label FROM test WHERE ? = ? ORDER BY id ASC'); 27 $stmt->execute(array('id', 'label', 'label')); 40 $stmt = $db->prepare('SELECT ?, id, label FROM test WHERE ? = ? ORDER BY id ASC'); 41 $stmt->execute(array('id', 'label', 'label')); 68 ["label"]=> 80 ["label"]=>
|
H A D | pdo_mysql_stmt_closecursor.phpt | 53 if (!isset($row2['label']) || ('z' !== $row2['label'])) 87 $id = $label = null; 101 var_export($label, true), gettype($label)); 159 in = 0 -> id = 1 (integer) / label = 'a' (string) 160 in = 0 -> id = 2 (integer) / label = 'b' (string) 164 in = 0 -> id = 1 (integer) / label = 'a' (string) 165 in = 0 -> id = 2 (integer) / label = 'b' (string) 170 in = 0 -> id = 1 (integer) / label = 'a' (string) 171 in = 0 -> id = 2 (integer) / label = 'b' (string) 175 in = 0 -> id = 1 (integer) / label = 'a' (string) [all …]
|
H A D | pdo_mysql_stmt_blobs.phpt | 29 …$db->exec(sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, PDO_MYSQL_TEST_ENGIN… 32 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)'); 41 $stmt = $db->query('SELECT id, label FROM test'); 42 $id = $label = NULL; 44 $stmt->bindColumn(2, $label, PDO::PARAM_LOB); 52 if (!is_resource($label)) { 57 $contents = stream_get_contents($label); 70 $stmt = $db->query('SELECT id, label FROM test'); 73 if ($ret['label'] !== $value) { 75 $offset, strlen($ret['label']), strlen($value));
|
H A D | pdo_mysql_types_zerofill.phpt | 17 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE… 24 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)'); 39 $stmt = $db->query('SELECT id, label FROM test'); 42 if (!isset($row['id']) || !isset($row['label'])) { 54 if (!preg_match($pattern, $row['label'])) { 56 $offset, $pattern, var_export($row['label'], true)); 69 if ($row['label'] !== $exp) { 72 var_export($row['label'], true), gettype($row['label'])); 79 $stmt = $db->query('SELECT id, label FROM test'); 82 if ($row['label'] != $row_string['label']) { [all …]
|
H A D | pdo_mysql_types.phpt | 24 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)'); 32 $stmt = $db->query('SELECT id, label FROM test'); 36 if (!isset($row['id']) || !isset($row['label'])) { 47 if (!preg_match($pattern, $row['label'])) { 49 $offset, $pattern, var_export($row['label'], true)); 61 …if ($row['label'] !== $exp && !is_null($alternative_type) && gettype($row['label']) != $alternativ… 64 var_export($row['label'], true), gettype($row['label']), 72 $stmt = $db->query('SELECT id, label FROM test'); 75 if (is_null($pattern) && ($row['label'] != $row_string['label'])) { 76 …= %s, NATIVE = %s\n", $sql_type, var_export($row_string['label'], true), var_export($row['label'],… [all …]
|
/PHP-8.1/ext/simplexml/tests/ |
H A D | bug72588.phpt | 14 <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 D | bug45553.phpt | 9 <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.1/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_param_references.phpt | 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; 113 $id = &$label; 157 $label->label = 'y'; [all …]
|
H A D | mysqli_stmt_bind_result_references.phpt | 23 $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 D | mysqli_result_references.phpt | 18 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 D | mysqli_stmt_fetch_bit.phpt | 27 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,… 36 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value)); 42 $id = $_label0 = $label = null; 43 … $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value); 46 !mysqli_stmt_bind_result($stmt, $id, $_label0, $label)) 53 …SQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $bits, $value, $bits, $id, $_label0… 55 if ($value != $label) { 56 …f("[008 - %d] Wrong values, (original) value = %s, id = %s, label + 0 AS label0 = %s, label = %s\… 57 $bits, $value, $id, $_label0, $label);
|
H A D | mysqli_stmt_bind_param_call_user_func.phpt | 25 $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 D | mysqli_stmt_attr_set.phpt | 137 $id = $label = NULL; 138 $stmt->bind_result($id, $label); 141 $results[$id] = $label; 151 $id = $label = NULL; 155 $results2[$id] = $label; 168 $id = $label = NULL; 172 $results2[$id] = $label; 197 $id = $label = NULL; 201 $results[$id] = $label; 224 $id = $label = NULL; [all …]
|
H A D | mysqli_stmt_execute_bind.phpt | 23 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 30 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 36 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 45 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 54 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 63 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 72 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 81 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 90 $stmt = $link->prepare('SELECT label, ? AS anon, ? AS num FROM test WHERE id=?'); 98 $stmt = $link->prepare('SELECT label FROM test WHERE id=1'); [all …]
|
H A D | mysqli_store_result_copy.phpt | 44 printf("id = %d, label = %s\n", $row['id'], $row['label']); 209 ["label"]=> 212 id = 1, label = a 213 id = 2, label = b 214 id = 3, label = c 215 id = 4, label = d 216 id = 5, label = e 249 id = 6 label = f 250 id = 5 label = e 254 ["label"]=> [all …]
|
/PHP-8.1/Zend/tests/try/ |
H A D | finally_goto_005.phpt | 2 There must be a difference between label: try { ... } and try { label: ... } 6 label: try { 7 goto label;
|
H A D | try_finally_006.phpt | 11 goto label; 13 label: 14 echo "label\n"; 25 label
|
H A D | try_finally_007.phpt | 2 Try finally (with goto previous label) 7 label: 8 echo "label"; 11 goto label;
|