/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_ps.h | 24 …val * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_uchar ** row); 43 …QLND_FIELD * const field, const unsigned int pack_len, const zend_uchar ** row, unsigned int byte_…
|
/PHP-7.2/ext/oci8/tests/ |
H A D | bug42841.phpt | 57 while($row = oci_fetch_array($cursor, OCI_ASSOC + OCI_RETURN_LOBS)) { 58 $data1[] = $row; 75 while($row = oci_fetch_array($cursor, OCI_ASSOC + OCI_RETURN_LOBS)) { 76 $data2[] = $row; 102 while (ocifetchinto($cur, $row, OCI_ASSOC)) { 103 $ret[] = $row;
|
H A D | fetch_all4.phpt | 35 $row = array(1,2,3); // this array is replaced as a result of the query 36 $row = oci_fetch_array($s); 37 var_dump($row);
|
H A D | lob_038.phpt | 51 while ($row = oci_fetch_array($s, OCI_ASSOC)) { 52 var_dump($row); 53 $result = $row['CLOB']->load(); 95 while ($row = oci_fetch_array($s, OCI_ASSOC)) { 96 var_dump($row); 97 $result = $row['BLOB']->load();
|
H A D | lob_008.phpt | 35 var_dump($row = oci_fetch_array($s)); 39 while (!$row[0]->eof()) { 40 $len += strlen($row[0]->read(1024));
|
H A D | lob_007.phpt | 37 var_dump($row = oci_fetch_array($s)); 39 var_dump($row[0]->size()); 40 var_dump(strlen($row[0]->load()));
|
H A D | lob_009.phpt | 35 var_dump($row = oci_fetch_array($s)); 37 while (!$row[0]->eof()) { 38 var_dump(str_replace("\r", "", $row[0]->read(1024)));
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | 062.phpt | 18 $row = $myresult->fetch_row(); 22 var_dump($row);
|
H A D | 061.phpt | 53 while (($row = mysqli_fetch_row($result))) { 54 printf("%s-%s\n", $row[0], $row[1]); 55 printf("%s-%s\n", gettype($row[0]), gettype($row[1]));
|
H A D | mysqli_stmt_bind_param.phpt | 96 $row = mysqli_fetch_assoc($res); 97 if (($row['id'] != $id) || ($row['label'] != $label)) 98 printf("[012] Expecting '%s'/%s', got '%s'/%s'!\n", $id, $label, $row['id'], $row['label']); 146 if (($row['id'] != $id) || (($row['label'] != $bind_value) && ($row['label'] != $alternative))) { 149 $id, $bind_value, gettype($bind_value), $row['id'], $row['label']); 153 if (($row['id'] != $id) || ($row['label'] != $bind_value)) { 156 $id, $bind_value, $row['id'], $row['label']); 346 if (!$row = mysqli_fetch_assoc($res)) 349 if ($row['id'] != 100 || $row['label'] != 'z') { 351 var_dump($row); [all …]
|
H A D | mysqli_store_result_copy.phpt | 43 while ($row = $res->fetch_assoc()) { 44 printf("id = %d, label = %s\n", $row['id'], $row['label']); 67 $row = $res->fetch_assoc(); 68 if (!isset($row['id']) || !isset($row['label'])) { 69 printf("[010] Brute force seek %d returned %d\n", $idx, var_export($row, true)); 85 while ($row = $res->fetch_assoc()) { 100 while ($row = $res->fetch_assoc()) { 124 foreach (mysqli_fetch_all($res, MYSQLI_ASSOC) as $row) { 125 printf("id = %d label = %s\n", $row['id'], $row['label']);
|
H A D | mysqli_local_infile_default_off.phpt | 14 $row = mysqli_fetch_assoc($res); 15 echo "server: ", $row['Value'], "\n";
|
H A D | mysqli_local_infile_set_on.phpt | 16 $row = mysqli_fetch_assoc($res); 17 echo "server: ", $row['Value'], "\n";
|
H A D | bug66124.phpt | 54 while ($row = $result->fetch_assoc()) { 55 echo "fetch id:{$row['id']}\n"; 83 while ($row = $result->fetch_assoc()) { 84 echo "fetch id:{$row['id']}\n";
|
H A D | mysqli_fork.phpt | 97 while ($row = mysqli_fetch_assoc($res)) { 98 /* send row to parent */ 100 var_dump($row); 145 $row = mysqli_fetch_assoc($pres); 146 if ($row['msg_id'] != $last_msg_id) { 147 $last_msg_id = $row['msg_id']; 148 switch ($row['msg']) { 155 $client_row = $row['msg']; 168 … printf("[013] Parent cannot fetch row %d\n", $num_rows, mysqli_errno($link), mysqli_error($link)); 219 while ($row = mysqli_fetch_assoc($res)) [all …]
|
/PHP-7.2/ext/pgsql/tests/ |
H A D | 80_bug32223.phpt | 44 $row = pg_fetch_row($res, 0); 45 var_dump($row); 47 if ($row[0] == 'f')
|
H A D | 80_bug32223b.phpt | 45 $row = pg_fetch_row($res, 0); 46 var_dump($row); 48 if ($row[0] == 'f')
|
/PHP-7.2/ext/pdo_oci/tests/ |
H A D | bug60994.phpt | 37 $row = $select->fetch(); 38 $stream1 = stream_get_contents($row['DATA']); 54 $row = $select->fetch(); 55 $stream2 = stream_get_contents($row['DATA']); 71 $row = $select->fetch(); 72 $stream3 = stream_get_contents($row['DATA']); 88 $row = $select->fetch(); 89 $stream4 = stream_get_contents($row['DATA']);
|
H A D | bug41996.phpt | 17 $row = $stmt->fetch(); 18 var_dump(strlen($row[0]) > 0);
|
H A D | pdo_oci_stream_2b.phpt | 20 // Since each column only has one lob descriptor, the last row is 27 foreach($db->query("select data1 as d4_1, data2 as d4_2 from pdo_oci_stream_2 order by id") as $row… 28 $a = $row['d4_1']; 29 $a1 = $row['d4_2'];
|
/PHP-7.2/ext/spl/tests/ |
H A D | SplFileObject_setCsvControl_basic.phpt | 17 foreach ($s as $row) { 18 list($fruit, $quantity) = $row;
|
H A D | SplFileObject_setCsvControl_variation001.phpt | 17 foreach ($s as $row) { 18 list($fruit, $quantity) = $row;
|
/PHP-7.2/ext/sqlite3/tests/ |
H A D | bug73333.phpt | 18 while (($row = $res->fetchArray(SQLITE3_NUM)) !== false) { 19 echo gettype($row[0]), PHP_EOL;
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_native.phpt | 116 if ($row !== $expected) { 210 array('first row')); 212 array('second row')); 235 array('row', 'row')); 241 "label" => "row" 245 "label" => "row" 293 array(':placeholder' => 'row'), 356 string(9) "first row" 361 string(10) "second row" 377 string(9) "first row" [all …]
|
H A D | pdo_mysql_begintransaction.phpt | 39 $row = $stmt->fetch(PDO::FETCH_ASSOC); 40 var_dump($row); 45 if (1 !== $db->exec(sprintf('DELETE FROM test WHERE id = %d', $row['id']))) 46 …printf("[007] DELETE should have indicated 1 deleted row, [%s] %s\n", $db->errorCode(), implode(' … 54 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id'])))) 62 $db->exec(sprintf("INSERT INTO test(id, label) VALUES (%d, 'z')", $row['id'])); 64 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id'])))) 73 if (!($stmt = $db->query(sprintf('SELECT id, label FROM test WHERE id = %d', $row['id'])))) 86 if (1 !== $db->exec(sprintf('DELETE FROM test WHERE id = %d', $row['id']))) 87 …printf("[017] DELETE should have indicated 1 deleted row, [%s] %s\n", $db->errorCode(), implode(' … [all …]
|