Home
last modified time | relevance | path

Searched refs:row (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/php-src/ext/pdo_dblib/tests/
H A Dtypes.phpt47 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 Dmysqli_fetch_array_many_rows.phpt29 $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 Dmysqli_stmt_get_result_seek.phpt41 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 Dmysqli_query_iterators.phpt17 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 Dbug51647.phpt21 $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 Dmysqli_fetch_assoc_bit.phpt79 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 Dmysqli_stmt_bind_result_bit.phpt110 … $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 Dbug79084_collision.phpt18 $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 Dmysqli_stmt_get_result_bit.phpt92 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 Dbug79084.phpt18 $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 Dmysqli_data_seek.phpt18 $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 Dmysqli_result_references.phpt23 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 Dmysqlnd_ps_codec.c56 *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 Dbug44327.phpt18 $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 Dpdo_mysql_connect_attr.phpt37 $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 Dpdo_mysql_attr_autocommit.phpt20 $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 Dpdo_mysql_types_zerofill.phpt40 $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 Dpdo_mysql_stmt_fetch_non_select.phpt31 $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 Dbug_60665.phpt24 $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 Dgd_bmp.c179 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 Dwbmp.c154 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 Dbug69169.phpt2 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 Dpdosqlite_003.phpt35 $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 Ddialect_1.phpt31 $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 Dmysqli_warning.c66 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()

Completed in 36 milliseconds

12345678910>>...12