Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-5.4/ext/oci8/tests/
H A Dlob_031.phpt37 $row[0]->read(3);
40 $row[0]->read(3);
43 $row[0]->read(3);
46 $row[0]->read(6);
49 $row[0]->read(4);
53 $row[0]->read(5);
56 $row[0]->read(1);
60 $row[0]->seek(1);
63 $row[0]->seek(8);
66 $row[0]->seek(20);
[all …]
H A Dfetch_object_1.phpt38 var_dump($row);
53 echo $row->SECONDCOL . "\n";
54 echo $row->ANOTHERCOL . "\n";
67 $row = oci_fetch_object($s);
68 echo $row->caseSensitive . "\n";
69 echo $row->CASESENSITIVE . "\n";
88 string(19) "1st row col2 string"
96 string(19) "2nd row col2 string"
110 1st row col2 string
113 2nd row col2 string
[all …]
H A Dfetch_object.phpt37 while ($row = oci_fetch_object($s)) {
38 var_dump($row);
52 echo $row->caseSensitive . "\n";
53 echo $row->SECONDCOL . "\n";
54 echo $row->ANOTHERCOL . "\n";
67 $row = oci_fetch_object($s);
68 echo $row->caseSensitive . "\n";
69 echo $row->CASESENSITIVE . "\n";
110 1st row col2 string
113 2nd row col2 string
[all …]
H A Dfetch_object_2.phpt18 "insert into fetch_object_2_tab values (123, '1st row col2 string', '1 more text')",
19 "insert into fetch_object_2_tab values (456, '2nd row col2 string', NULL)",
37 while ($row = oci_fetch_object($s)) {
38 var_dump($row);
51 while ($row = oci_fetch_object($s)) {
52 echo $row->COL1 . "\n";
53 echo $row->COL2->load(100) . "\n";
54 echo $row->COL3 . "\n";
105 1st row col2 string
108 2nd row col2 string
[all …]
H A Dbug38173.phpt52 while ( $row = oci_fetch_assoc($sth) ) {
53 print "Got row!\n";
54 var_dump(oci_execute($row['CURSOR']));
55 var_dump(oci_free_statement($row['CURSOR']));
67 Got row!
70 Got row!
73 Got row!
76 Got row!
79 Got row!
H A Dlob_016.phpt29 $row = oci_fetch_assoc($statement);
31 $row['LOB_1']->write("first");
32 $row['LOB_2']->write("second");
34 unset($row);
42 $row = oci_fetch_assoc($statement);
44 var_dump($row);
45 var_dump($row['LOB_1']->load());
46 var_dump($row['LOB_2']->load());
H A Dlob_017.phpt31 $row = oci_fetch_assoc($statement);
33 $row['LOB_1']->write("first");
34 $row['LOB_2']->write("second");
36 unset($row);
44 $row = oci_fetch_assoc($statement);
46 var_dump($row);
47 var_dump($row['LOB_1']->load());
48 var_dump($row['LOB_2']->load());
H A Dfetch_array.phpt41 while ($row = oci_fetch_array($s)) {
42 var_dump($row);
50 while ($row = oci_fetch_array($s, OCI_NUM)) {
51 var_dump($row);
59 while ($row = oci_fetch_array($s, OCI_ASSOC)) {
60 var_dump($row);
68 while ($row = oci_fetch_array($s, OCI_BOTH)) {
69 var_dump($row);
78 var_dump($row);
87 var_dump($row);
[all …]
/PHP-5.4/ext/pdo_oci/tests/
H A Dbug57702.phpt44 do_insert($db, 1, "row 1 col 1", "row 1 col 2");
45 do_insert($db, 2, "row 2 col 1", "row 2 col 2");
55 var_dump($row['data1']);
56 var_dump($row['data2']);
58 var_dump($row['data1']);
59 var_dump($row['data2']);
66 var_dump($row['d1']);
67 var_dump($row['d2']);
136 string(11) "row 1 col 1"
137 string(11) "row 1 col 2"
[all …]
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_fetch_array_many_rows.phpt29 $row['label'] = NULL;
42 $results[$i++] = &$row;
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']) {
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.phpt44 if (($row[0] !== $row['id']) || ($row[0] !== $i + 1)) {
46 var_dump($row);
48 unset($row[0]);
49 unset($row['id']);
51 if ($row[1] !== $row['label']) {
53 var_dump($row);
55 unset($row[1]);
56 unset($row['label']);
58 if (!empty($row)) {
60 var_dump($row);
[all …]
H A Dmysqli_query_iterators.phpt22 foreach ($res as $row) {
23 var_dump($row);
26 foreach ($res as $row) {
27 var_dump($row);
30 foreach ($res as $row) {
31 var_dump($row);
38 foreach ($res as $row) {
39 var_dump($row);
43 var_dump($row);
53 var_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 Dmysqli_reconnect.phpt30 while ($row = mysqli_fetch_assoc($res))
31 $running_threads[$row['Id']] = $row;
46 if (!$row = mysqli_fetch_assoc($res))
51 if ($row['Value'] != 2)
63 while ($row = mysqli_fetch_assoc($res))
64 $running_threads[$row['Id']] = $row;
78 if (!$row = mysqli_fetch_assoc($res))
83 if ($row['_dbname'] != $db)
101 $running_threads[$row['Id']] = $row;
116 if (!$row = mysqli_fetch_assoc($res))
[all …]
H A Dmysqli_fetch_assoc_bit.phpt85 if (!$row = mysqli_fetch_assoc($res))
88 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
89 debug_zval_dump($row);
91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
94 if ($value != $row['bit_value']) {
95 debug_zval_dump($row);
96 printf("%10s %64s\n%10s %64s\n", '_bin', $row['_bin'], 'insert', $bin);
97 printf("[007 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
101 if (null !== $row['bit_null']) {
102 debug_zval_dump($row);
[all …]
H A Dbug51647.phpt15 $row = NULL;
17 $row = $res->fetch_row();
20 while ($row = $res->fetch_row())
21 if ($row[0] == 'have_ssl')
29 if (empty($row))
32 if (($row[1] == 'NO') || ($row[1] == 'DISABLED'))
56 while ($row = $res->fetch_assoc())
57 if ($row['Variable_name'] == 'Ssl_cipher')
66 if (!$row = $res->fetch_assoc())
70 var_dump($row);
/PHP-5.4/ext/interbase/tests/
H A D003.phpt56 $row = ibase_fetch_object($sel);
60 echo " out: $row->V_CHAR\n";
62 if($row->V_DATE != $v_date){
65 echo " out: $row->V_DATE\n";
101 echo " out: $row->V_DOUBLE\n";
106 echo " out: $row->V_FLOAT\n";
108 if($row->V_INTEGER != $v_integer){
111 echo " out: $row->V_INTEGER\n";
113 if($row->V_SMALLINT != $v_smallint){
116 echo " out: $row->V_SMALLINT\n";
[all …]
H A D007.phpt80 echo " out: ".$row->V_CHAR[$i]."\n";
82 if($row->V_DATE[$i] != $v_date[$i]) {
85 echo " out: ".$row->V_DATE[$i]."\n";
87 if($row->V_DECIMAL[$i] != $v_decimal[$i]) {
90 echo " out: ".$row->V_DECIMAL[$i]."\n";
95 echo " out: ".$row->V_DOUBLE[$i]."\n";
100 echo " out: ".$row->V_FLOAT[$i]."\n";
105 echo " out: ".$row->V_INTEGER[$i]."\n";
110 echo " out: ".$row->V_NUMERIC[$i]."\n";
115 echo " out: ".$row->V_SMALLINT[$i]."\n";
[all …]
/PHP-5.4/ext/pdo/
H A Dpdo.php28 foreach ($x->query("select NAME, VALUE from test") as $row) {
29 print_r($row);
40 foreach ($x->query("select NAME, VALUE from test", PDO_FETCH_COLUMN, 1) as $row) {
41 debug_zval_dump($row);
52 while ($row = $stmt->fetch()) { variable
53 echo "name=$row[NAME] value=$row[VALUE]\n";
/PHP-5.4/ext/mysql/tests/
H A Dmysql_db_query.phpt31 $row = mysql_fetch_assoc($res);
32 if (1 != $row['id'])
33 printf("[005] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
35 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($row['label'])) {
37 var_inspect($row);
46 $row = mysql_fetch_assoc($res);
47 if (1 != $row['id'])
48 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
50 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($row['label'])) {
52 var_inspect($row);
/PHP-5.4/ext/pdo_mysql/tests/
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'])
58 $num = $row['_num'];
63 if ($row['_num'] != $num)
69 if ($row['_num'] != $num)
78 if ($row['_num'] != $num)
[all …]
H A Dbug44327.phpt17 $row = $stmt->fetch(PDO::FETCH_LAZY);
18 var_dump($row);
19 var_dump($row->{0});
20 var_dump($row->one);
21 var_dump($row->queryString);
30 $row = $stmt->fetch(PDO::FETCH_LAZY);
31 var_dump($row);
32 var_dump($row->queryString);
39 $row = $stmt->fetch();
40 var_dump($row->queryString);
/PHP-5.4/ext/gd/libgd/
H A Dwbmp.c153 int row, col, byte, pel, pos; in readwbmp() local
206 for (row = 0; row < wbmp->height; row++) in readwbmp()
250 int row, col; in writewbmp() local
265 for (row = 0; row < wbmp->height; row++) in writewbmp()
271 octet |= ((wbmp->bitmap[row * wbmp->width + col] == 1) ? WBMP_WHITE : WBMP_BLACK) << --bitpos; in writewbmp()
309 int row, col; in printwbmp() local
310 for (row = 0; row < wbmp->height; row++) in printwbmp()
314 if (wbmp->bitmap[wbmp->width * row + col] == WBMP_BLACK) in printwbmp()
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c131 (*row)+= byte_count; in ps_fetch_from_1_to_8_bytes()
201 float4get(fval, *row); in ps_fetch_float()
202 (*row)+= 4; in ps_fetch_float()
260 (*row)+= 8; in ps_fetch_double()
279 zend_uchar *to= *row; in ps_fetch_time()
296 (*row) += length; in ps_fetch_time()
332 zend_uchar *to= *row; in ps_fetch_date()
343 (*row)+= length; in ps_fetch_date()
379 zend_uchar *to= *row; in ps_fetch_datetime()
397 (*row)+= length; in ps_fetch_datetime()
[all …]
/PHP-5.4/ext/dom/examples/
H A Ddom1.inc14 <row><entry>a1</entry><entry morerows='1'>b1</entry><entry>c1</entry></row>
15 <row><entry>a2</entry><entry>c2</entry></row>
16 <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row>

Completed in 66 milliseconds

12345678910>>...13