/PHP-5.6/ext/oci8/tests/ |
H A D | lob_031.phpt | 37 $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 D | imp_res_get_4.phpt | 71 print_row($row); 73 print_row($row); 75 print_row($row); 77 print_row($row); 79 print_row($row); 81 print_row($row); 90 print_row($row); 92 print_row($row); 94 print_row($row); 96 print_row($row); [all …]
|
H A D | fetch_object.phpt | 38 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 D | fetch_object_1.phpt | 38 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 D | imp_res_get_5.phpt | 22 function print_row($row) 24 foreach ($row as $item) { 50 print_row($row); 60 print_row($row); 63 print_row($row); 72 print_row($row); 74 $row = oci_fetch_row($s); 75 print_row($row); 78 print_row($row); 81 print_row($row); [all …]
|
H A D | fetch_object_2.phpt | 18 "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 D | imp_res_6.phpt | 50 $row = oci_fetch_assoc($s); 51 var_dump($row); 52 $row = oci_fetch_row($s); 53 var_dump($row); 54 $row = oci_fetch_object($s); 55 var_dump($row); 56 $row = oci_fetch_array($s); 57 var_dump($row); 58 $row = oci_fetch_array($s, OCI_NUM); 59 var_dump($row); [all …]
|
H A D | lob_016.phpt | 29 $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 D | bug38173.phpt | 52 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 D | lob_017.phpt | 31 $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());
|
/PHP-5.6/ext/pdo_oci/tests/ |
H A D | bug57702.phpt | 44 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.6/ext/mysqli/tests/ |
H A D | mysqli_fetch_array_many_rows.phpt | 29 $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 D | mysqli_query_iterators.phpt | 22 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 D | mysqli_stmt_get_result_seek.phpt | 44 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 D | bug51647.phpt | 15 $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')) 62 if (!$row = $res->fetch_assoc()) 64 if (!strlen($row["Value"])) 66 var_dump($row); 94 if (!strlen($row["Value"])) [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 …]
|
/PHP-5.6/ext/interbase/tests/ |
H A D | 003.phpt | 56 $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 D | 007.phpt | 80 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.6/ext/pdo/ |
H A D | pdo.php | 28 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.6/ext/pdo/tests/ |
H A D | bug_60665.phpt | 19 $row = $statement->fetch(PDO::FETCH_LAZY); 21 empty($row->null_value), 22 empty($row->zero), 23 !empty($row->one), 24 empty($row->missing), 25 !isset($row->null_value), 26 isset($row->zero), 27 isset($row->one), 28 !isset($row->missing)
|
/PHP-5.6/ext/pdo_mysql/tests/ |
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']) 58 $num = $row['_num']; 63 if ($row['_num'] != $num) 69 if ($row['_num'] != $num) 78 if ($row['_num'] != $num) [all …]
|
H A D | bug44327.phpt | 17 $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.6/ext/mysql/tests/ |
H A D | mysql_db_query.phpt | 31 $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.6/ext/simplexml/tests/ |
H A D | bug69169.phpt | 2 Bug #69169 (simplexml_load_string parse wrongly when xml given in one row) 11 <row b="y"> 13 </row> 14 <row p="c"> 16 </row> 30 [row] => Array
|
/PHP-5.6/ext/gd/libgd/ |
H A D | wbmp.c | 153 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()
|