/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 23 $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 D | pdo_mysql_stmt_bindparam.phpt | 26 $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 D | pdo_mysql_stmt_bindvalue.phpt | 30 $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 D | pdo_mysql_prepare_emulated.phpt | 179 $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 D | pdo_mysql_prepare_native.phpt | 229 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 D | pdo_mysql_stmt_closecursor_empty.phpt | 25 $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 D | pdo_mysql_prepare_match_against.phpt | 17 $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 D | pdo_mysql_stmt_closecursor.phpt | 52 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 D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 20 $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 D | pdo_mysql_stmt_blobs.phpt | 28 …$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 D | pdo_mysql_types_zerofill.phpt | 16 …$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 D | pdo_mysql_multi_stmt_nextrowset.phpt | 115 ["label"]=> 122 ["label"]=> 129 ["label"]=> 156 ["label"]=> 163 ["label"]=> 170 ["label"]=> 200 ["label"]=> 207 ["label"]=> 214 ["label"]=> 241 ["label"]=> [all …]
|
H A D | pdo_mysql_types.phpt | 23 $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 …]
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_param_references.phpt | 16 $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 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 | 16 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 D | mysqli_stmt_bind_param_call_user_func.phpt | 29 $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 D | mysqli_stmt_fetch_bit.phpt | 30 …!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 D | mysqli_stmt_attr_set.phpt | 170 $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 D | mysqli_last_insert_id.phpt | 129 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 D | mysqli_stmt_bind_param.phpt | 41 $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 …]
|
/PHP-5.5/ext/simplexml/tests/ |
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-5.5/Zend/tests/ |
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;
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 14 …label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-…
|