/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_select_db.phpt | 32 if (!$row = mysql_fetch_assoc($res)) 35 if ($row['dbname'] !== (string)$db) 36 printf("[007] Expecting database '%s', found '%s'\n", $db, $row['dbname']); 38 var_dump($row['dbname']); 49 if (!$row = mysql_fetch_assoc($res)) 52 if (strtolower($row['dbname']) !== 'mysql') 53 printf("[010] Expecting database 'mysql', found '%s'\n", $row['dbname']);
|
H A D | mysql_list_dbs.phpt | 29 $row = mysql_fetch_array($res, MYSQL_NUM); 30 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($row[0])) { 32 var_inspect($row); 43 assert($row === $row2);
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_change_user_locks_temporary.phpt | 36 if (!$row = mysqli_fetch_assoc($res)) 39 if ($row['_num'] < 1) 57 if (!$row = mysqli_fetch_assoc($res)) 60 if ($row['_num'] != 3) 77 if (!$row = mysqli_fetch_assoc($res)) 80 if ($row['_ok'] != 1) 91 if (!$row = mysqli_fetch_assoc($res)) 94 if ($row['_ok'] != 1)
|
H A D | mysqli_change_user_insert_id.phpt | 46 if (!$row = mysqli_fetch_assoc($res)) 50 if ($row['_insert_id'] != $insert_id) 52 $row['_insert_id'], $insert_id); 54 if ($row['_insert_id'] != 0) 55 printf("Expecting 0 got %d\n", $row['_insert_id']);
|
H A D | mysqli_auth_pam.phpt | 25 while ($row = $res->fetch_assoc()) { 26 if (isset($row['Name']) && ('mysql_clear_password' == $row['Name'])) { 74 if (!$row = mysqli_fetch_assoc($res)) { 78 if ($row['id'] != 1) { 79 printf("[004] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
|
H A D | mysqli_pconn_reuse.phpt | 36 $row = mysqli_fetch_assoc($res); 37 printf("Connection 1 - SELECT @pcondisabled -> '%s'\n", $row['_test']); 43 $row = mysqli_fetch_assoc($res); 44 printf("Connection 2 (no reuse) - SELECT @pcondisabled -> '%s'\n", $row['_test']); 56 $row = mysqli_fetch_assoc($res); 57 printf("Connection 2 - SELECT @pcondisabled -> '%s'\n", $row['_test']); 71 $row = mysqli_fetch_assoc($res); 72 printf("Connection 2 (reuse) - SELECT @pcondisabled -> '%s'\n", $row['_test']);
|
H A D | mysqli_pam_sha256_public_key_ini.phpt | 28 while ($row = $res->fetch_assoc()) { 29 if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) { 41 if (!($row = $res->fetch_assoc())) { 45 $key = $row['Value']; 107 if (!$row = mysqli_fetch_assoc($res)) { 111 if ($row['id'] != 1) { 112 printf("[004] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
|
H A D | connect.inc | 134 ($row = $res->fetch_row()) && 135 !empty($row)) { 136 if ($row[1] == "DISABLED" || $row[1] == "NO") { 143 while ($row = $res->fetch_assoc()) { 144 if (!isset($row['Engine']) || !isset($row['Support'])) 147 if (('InnoDB' == $row['Engine']) && 148 (('YES' == $row['Support']) || ('DEFAULT' == $row['Support']))
|
H A D | mysqli_multi_query.phpt | 41 while ($row = mysqli_fetch_array($res)) 66 while ($row = mysqli_fetch_array($res)) 81 while ($row = mysqli_fetch_array($res)) 108 while ($row = mysqli_fetch_array($res)) { 111 if ($row['num'] != $res_num) 112 printf("[013 - %d] Expecting %s got %s\n", $res_num, $res_num, $row['num']); 113 if ($row['somechar'] != "a") 114 printf("[014 - %d] Expecting a got %s\n", $res_num, $row['somechar']); 132 printf("[018 - %d] Expecting 1 row, got %d rows\n", $num_rows);
|
H A D | mysqli_insert_packet_overflow.phpt | 31 if (!$row = mysqli_fetch_assoc($res)) 36 if (0 === ($org_max_allowed_packet = (int)$row['Value'])) 61 if (!$row = mysqli_fetch_assoc($res)) 66 if (0 === ($max_allowed_packet = (int)$row['Value'])) 92 if (!$row = mysqli_fetch_assoc($res)) { 95 if ($row['col_blob'] != $blob) { 97 var_dump(strlen($row['col_blob']));
|
H A D | mysqli_options_init_command.phpt | 28 $row = mysqli_fetch_assoc($res); 31 if ($row['_num_rows'] != 1) 32 printf("[003] Expecting 1 got %s\n", $row['_num_rows']); 47 $row = mysqli_fetch_assoc($res); 50 if ($row['_num_rows'] != 2) 51 printf("[007] Expecting 1 got %s\n", $row['_num_rows']);
|
H A D | mysqli_pam_sha256_public_key_option_invalid.phpt | 28 while ($row = $res->fetch_assoc()) { 29 if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) { 41 if (!($row = $res->fetch_assoc())) { 45 if (strlen($row['Value']) < 100) { 54 if (strlen($row['Value']) != fwrite($fp, $row['Value'])) { 111 if (!$row = mysqli_fetch_assoc($res)) { 116 if ($row['id'] != 1) { 117 printf("[%03d + 005] Expecting 1 got %s/'%s'", $offset, gettype($row['id']), $row['id']);
|
H A D | bug36949.phpt | 19 $row = $result->fetch_object(); 20 echo $row->my_time."<br>\n"; 37 $row = $result->fetch_object(); 38 echo $row->my_time."<br>\n";
|
/PHP-5.5/ext/oci8/tests/ |
H A D | lob_018.phpt | 47 while ($row = oci_fetch_array($statement, OCI_ASSOC)) { 48 $result = $row['LOB_1']->load(); 58 while ($row = oci_fetch_array($statement, OCI_ASSOC)) { 59 $result = $row['LOB_1']->load(); 78 while ($row = oci_fetch_array($statement, OCI_ASSOC)) { 79 $result = $row['LOB_1']->load();
|
H A D | pecl_bug10194.phpt | 32 $row = oci_fetch_assoc($statement); 37 $row['CLOB']->write($string); 46 $row = oci_fetch_assoc($statement); 47 var_dump(strlen($row['CLOB']->load())); /* here it should fail */
|
H A D | lob_019.phpt | 38 var_dump($row = oci_fetch_array($s)); 40 var_dump($row[0]->read(5)); 41 var_dump($row[0]->read(5)); 42 var_dump($row[0]->read(5));
|
H A D | bind_long_raw.phpt | 28 $row = oci_fetch_row($stmt); 29 var_dump(md5($row[0])); 30 var_dump(strlen($row[0]));
|
H A D | bind_raw.phpt | 29 $row = oci_fetch_row($stmt); 30 var_dump(md5($row[0])); 31 var_dump(strlen($row[0]));
|
H A D | lob_010.phpt | 34 $row = oci_fetch_array($s); 36 while (!$row[0]->eof()) { 37 var_dump($row[0]->read(1024));
|
H A D | lob_026.phpt | 41 var_dump($row = oci_fetch_array($s)); 45 var_dump(oci_lob_append($row[0], $blob)); 47 var_dump(oci_lob_read($row[0], 10000)); 55 $row = oci_fetch_array($s); 57 var_dump(oci_lob_read($row[0], 10000));
|
H A D | bind_raw_2.phpt | 29 $row = oci_fetch_row($stmt); 30 var_dump(md5($row[0])); 31 var_dump(strlen($row[0]));
|
H A D | lob_043.phpt | 35 while (($row = oci_fetch_array($s, OCI_RETURN_NULLS+OCI_ASSOC+OCI_RETURN_LOBS)) !== false) { 36 $r[] = $row['C1']; 47 while (($row = oci_fetch_array($s, OCI_RETURN_NULLS+OCI_ASSOC)) !== false) { 48 $r[] = $row['C1'];
|
/PHP-5.5/ext/pdo/tests/ |
H A D | bug_39656.phpt | 27 $row = $stmt->fetch(); 28 var_dump( $row ); 32 $row = $stmt->fetch(); // this line will crash CLI 33 var_dump( $row );
|
/PHP-5.5/ext/dom/tests/ |
H A D | dom001.phpt | 203 <row><entry>a1</entry><entry morerows="1">b1</entry><entry>c1</entry></row> 204 <row><entry>a2</entry><entry>c2</entry></row> 205 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row> 264 <row><entry>a1</entry><entry morerows="1">b1</entry><entry>c1</entry></row> 265 <row><entry>a2</entry><entry>c2</entry></row> 266 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row>
|
/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_emulated.phpt | 209 array('first row')); 215 array('first row')); 217 array('second row')); 243 array('row', 'row')); 275 array('row', 'row')); 278 array('row'), 289 array('row')); 367 %unicode|string%(3) "row" 374 %unicode|string%(3) "row" 409 %unicode|string%(3) "row" [all …]
|