/php-src/ext/pdo_dblib/tests/ |
H A D | types.phpt | 47 var_dump($row['char']); 48 var_dump($row['datetime']); 49 var_dump($row['false']); 50 var_dump($row['float']); 51 var_dump($row['int']); 52 var_dump($row['money']); 54 var_dump($row['true']); 60 var_dump($row['char']); 62 var_dump($row['false']); 64 var_dump($row['int']); [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_array_many_rows.phpt | 29 $row['label'] = NULL; 47 if ($row[0] < 0 || $row[0] > $id) { 52 if ($row[0] !== $row['id']) { 53 printf("[005] Unexpected result row[0] = '%s', row[id] = '%s', [%d] %s\n", 54 $row[0], $row['id'], mysqli_errno($link), mysqli_error($link)); 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)); 79 $row['label'] = NULL; 87 $num = $row['num']; [all …]
|
H A D | mysqli_stmt_get_result_seek.phpt | 41 if (($row[0] !== $row['id']) || ($row[0] !== $i + 1)) { 43 var_dump($row); 45 unset($row[0]); 46 unset($row['id']); 48 if ($row[1] !== $row['label']) { 50 var_dump($row); 52 unset($row[1]); 53 unset($row['label']); 55 if (!empty($row)) { 57 var_dump($row); [all …]
|
H A D | mysqli_query_iterators.phpt | 17 foreach ($res as $row) { 18 var_dump($row); 22 foreach ($res as $row) { 23 var_dump($row); 29 var_dump($row); 39 foreach ($res as $row) { 40 var_dump($row); 43 foreach ($res as $row) { 44 var_dump($row); 54 var_dump($row); [all …]
|
H A D | bug51647.phpt | 21 $row = NULL; 23 $row = $res->fetch_row(); 26 while ($row = $res->fetch_row()) 27 if ($row[0] == 'have_ssl') 35 if (empty($row)) 38 if (($row[1] == 'NO') || ($row[1] == 'DISABLED')) 68 if (!$row = $res->fetch_assoc()) 70 if (!strlen($row["Value"])) 72 var_dump($row); 100 if (!strlen($row["Value"])) [all …]
|
H A D | mysqli_fetch_assoc_bit.phpt | 79 if (!$row = mysqli_fetch_assoc($res)) 82 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) { 83 debug_zval_dump($row); 85 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); 88 if ($value != $row['bit_value']) { 89 debug_zval_dump($row); 90 printf("%10s %64s\n%10s %64s\n", '_bin', $row['_bin'], 'insert', $bin); 91 printf("[007 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']); 95 if (null !== $row['bit_null']) { 96 debug_zval_dump($row); [all …]
|
H A D | mysqli_stmt_bind_result_bit.phpt | 110 … $row = array('id' => -1, '_bin' => - 1, 'bit_value' => -1, '_bit_value0' => -1, 'bit_null' => -1); 111 …if (!mysqli_stmt_bind_result($stmt_sel, $row['id'], $row['_bin'], $row['bit_value'], $row['_bit_va… 126 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) { 127 debug_zval_dump($row); 129 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); 132 if ($value != $row['bit_value']) { 133 debug_zval_dump($row); 134 printf("[013 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']); 138 if (null !== $row['bit_null']) { 139 debug_zval_dump($row); [all …]
|
H A D | bug79084_collision.phpt | 18 $row = $res->fetch_array(); 19 var_dump($row); 26 $row = $res->fetch_array(); 27 var_dump($row); 34 $row = $res->fetch_array(); 35 var_dump($row);
|
H A D | mysqli_stmt_get_result_bit.phpt | 92 if (!$row = mysqli_fetch_assoc($res)) 96 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) { 97 debug_zval_dump($row); 99 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); 102 if ($value != $row['bit_value']) { 103 debug_zval_dump($row); 104 printf("%10s %64s\n%10s %64s\n", '_bin', $row['_bin'], 'insert', $bin); 105 printf("[009 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']); 109 if (null !== $row['bit_null']) { 110 debug_zval_dump($row); [all …]
|
H A D | bug79084.phpt | 18 $row = $res->fetch_array(); 19 var_dump($row); 26 $row = $res->fetch_array(); 27 var_dump($row); 34 $row = $res->fetch_array(); 35 var_dump($row);
|
H A D | mysqli_data_seek.phpt | 18 $row = mysqli_fetch_assoc($res); 19 if (4 != $row['id']) 20 printf("[006] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']); 25 $row = mysqli_fetch_assoc($res); 26 if (1 != $row['id']) 27 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
|
H A D | mysqli_result_references.phpt | 23 while ($row = mysqli_fetch_assoc($res)) { 26 'id' => &$row['id'], 27 'label' => $row['label'] . ''); 34 while ($row = mysqli_fetch_assoc($res)) { 37 'id' => &$row['id'], 38 'label' => $row['label'] . ''); 52 while ($row = mysqli_fetch_assoc($res)) { 55 'id' => &$row['id'], 56 'label' => $row['label'] . ''); 72 while ($row = mysqli_fetch_assoc($res)) { [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 56 *row = NULL; in ps_fetch_over_read_error() 65 size_t length_len = *row - p; in ps_fetch_is_packet_over_read_with_variable_length() 154 (*row)+= byte_count; in ps_fetch_from_1_to_8_bytes() 217 float4get(fval, *row); in ps_fetch_float() 218 (*row)+= 4; in ps_fetch_float() 244 float8get(value, *row); in ps_fetch_double() 246 (*row)+= 8; in ps_fetch_double() 284 (*row) += length; in ps_fetch_time() 328 (*row)+= length; in ps_fetch_date() 372 (*row)+= length; in ps_fetch_datetime() [all …]
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug44327.phpt | 18 $row = $stmt->fetch(PDO::FETCH_LAZY); 19 var_dump($row); 20 var_dump($row->{0}); 21 var_dump($row->one); 22 var_dump($row->queryString); 30 $row = $stmt->fetch(PDO::FETCH_LAZY); 31 var_dump($row); 32 var_dump($row->queryString); 38 $row = $stmt->fetch(); 39 var_dump($row->queryString);
|
H A D | pdo_mysql_connect_attr.phpt | 37 $row = $stmt->fetch(PDO::FETCH_ASSOC); 39 if (!$row || !isset($row['attr_name'])) { 41 } elseif ($row['attr_value'] !== $host) { 42 printf("_server_host mismatch (expected '%s', got '%s')\n", $host, $row['attr_value']); 48 $row = $stmt->fetch(PDO::FETCH_ASSOC); 49 if (!$row || !isset($row['attr_name'])) { 51 } elseif ($row['attr_value'] !== 'mysqlnd') { 52 printf("_client_name mismatch (expected 'mysqlnd', got '%s')\n", $row['attr_value']);
|
H A D | pdo_mysql_attr_autocommit.phpt | 20 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 21 if (!$row['_autocommit']) 28 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 29 if ($row['_autocommit']) 46 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 47 if (!$row['_autocommit']) 59 $num = $row['_num']; 64 if ($row['_num'] != $num) 70 if ($row['_num'] != $num) 79 if ($row['_num'] != $num) [all …]
|
H A D | pdo_mysql_types_zerofill.phpt | 40 $row = $stmt->fetch(PDO::FETCH_ASSOC); 42 if (!isset($row['id']) || !isset($row['label'])) { 47 if ($row['id'] != $offset) { 48 printf("[%03d + 3] Expecting %s got %s\n", $offset, $row['id']); 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'])); 82 if ($row['label'] != $row_string['label']) { 97 $row = $stmt->fetch(PDO::FETCH_ASSOC); [all …]
|
H A D | pdo_mysql_stmt_fetch_non_select.phpt | 31 $describe[] = $row; 32 foreach ($row as $column => $value) 33 if (isset($row['field']) && ($row['field'] == 'id')) 48 $show[] = $row; 49 foreach ($row as $column => $value) 65 $explain[] = $row; 89 $describe_native[] = $row; 90 foreach ($row as $column => $value) 91 if (isset($row['field']) && ($row['field'] == 'id')) 123 $show_native[] = $row; [all …]
|
/php-src/ext/pdo/tests/ |
H A D | bug_60665.phpt | 24 $row = $statement->fetch(PDO::FETCH_LAZY); 26 empty($row->null_value), 27 empty($row->zero), 28 !empty($row->one), 29 empty($row->missing), 30 !isset($row->null_value), 31 isset($row->zero), 32 isset($row->one), 33 !isset($row->missing)
|
/php-src/ext/gd/libgd/ |
H A D | gd_bmp.c | 179 for (row = (im->sy - 1); row >= 0; row--) { in gdImageBmpCtx() 234 for (row = (im->sy - 1); row >= 0; row--) { in gdImageBmpCtx() 376 row++; in build_rle_packet() 379 row++; in build_rle_packet() 384 row++; in build_rle_packet() 387 row++; in build_rle_packet() 391 row++; in build_rle_packet() 394 row++; in build_rle_packet() 402 row++; in build_rle_packet() 728 row = ypos; in bmp_read_direct() [all …]
|
H A D | wbmp.c | 154 int row, col, byte, pel, pos; in readwbmp() local 210 for (row = 0; row < wbmp->height; row++) in readwbmp() 254 int row, col; in writewbmp() local 269 for (row = 0; row < wbmp->height; row++) in writewbmp() 275 octet |= ((wbmp->bitmap[row * wbmp->width + col] == 1) ? WBMP_WHITE : WBMP_BLACK) << --bitpos; in writewbmp() 313 int row, col; in printwbmp() local 314 for (row = 0; row < wbmp->height; row++) in printwbmp() 318 if (wbmp->bitmap[wbmp->width * row + col] == WBMP_BLACK) in printwbmp()
|
/php-src/ext/simplexml/tests/ |
H A D | bug69169.phpt | 2 Bug #69169 (simplexml_load_string parse wrongly when xml given in one row) 9 <row b="y"> 11 </row> 12 <row p="c"> 14 </row> 28 [row] => Array
|
/php-src/ext/pdo_sqlite/tests/subclasses/ |
H A D | pdosqlite_003.phpt | 35 $row = $result->fetch(PDO::FETCH_ASSOC); 36 if ($row === false) { 41 if (array_key_exists('geometry_data', $row) !== true) { 43 var_dump(array_keys($row)); 47 echo $row['geometry_data'] . "\n"; 49 $row = $result->fetch(PDO::FETCH_ASSOC); 51 if ($row !== false) { 53 var_dump($row);
|
/php-src/ext/pdo_firebird/tests/ |
H A D | dialect_1.phpt | 31 $row = $query->fetch(\PDO::FETCH_OBJ); 32 var_dump($row->N); 33 var_dump($row->F); 34 var_dump($row->K); 35 var_dump($row->DT); 48 $row = $query->fetch(\PDO::FETCH_OBJ); 49 var_dump($row->K); 50 var_dump($row->DT);
|
/php-src/ext/mysqli/ |
H A D | mysqli_warning.c | 66 zval row; in php_get_warnings() local 78 mysqlnd_fetch_into(result, MYSQLND_FETCH_NUM, &row); in php_get_warnings() 79 if (Z_TYPE(row) != IS_ARRAY) { in php_get_warnings() 80 zval_ptr_dtor(&row); in php_get_warnings() 83 zend_hash_internal_pointer_reset(Z_ARRVAL(row)); in php_get_warnings() 85 zend_hash_move_forward(Z_ARRVAL(row)); in php_get_warnings() 88 entry = zend_hash_get_current_data(Z_ARRVAL(row)); in php_get_warnings() 90 zend_hash_move_forward(Z_ARRVAL(row)); in php_get_warnings() 93 entry = zend_hash_get_current_data(Z_ARRVAL(row)); in php_get_warnings() 109 zval_ptr_dtor(&row); in php_get_warnings()
|