Home
last modified time | relevance | path

Searched refs:row (Results 76 – 100 of 348) sorted by relevance

12345678910>>...14

/PHP-7.4/ext/oci8/tests/
H A Dlob_024.phpt37 var_dump($row = oci_fetch_array($s));
39 var_dump(strlen($row[0]->load()));
40 var_dump(strlen(oci_lob_load($row[0])));
42 unset($row[0]->descriptor);
43 var_dump(oci_lob_load($row[0]));
H A Dbug40415.phpt50 while ($row = oci_fetch_assoc($stmt)) {
51 print "Got row \"".$row['ID1']."\". Now getting nested cursor:\n";
52 var_dump(oci_execute($row['CURSOR']));
53 while ($row_n = oci_fetch_assoc($row['CURSOR']) ) {
99 Got row "11". Now getting nested cursor:
113 Got row "12". Now getting nested cursor:
127 Got row "13". Now getting nested cursor:
H A Dbind_rowid.phpt15 while ($row = oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS)) {
16 var_dump($row);
36 $row = oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS);
38 $rid = $row['ROWID'];
39 $addr = $row['ADDRESS'];
H A Dxmltype_02.phpt61 // Query the row back
66 $row = oci_fetch_array($s, OCI_NUM);
68 var_dump($row);
72 $sx = simplexml_load_string($row[0]->load());
73 $row[0]->free();
92 // Query the changed row back and print it
97 $row = oci_fetch_array($s, OCI_NUM);
98 var_dump($row[0]->load());
99 $row[0]->free();
H A Dimp_res_2.phpt59 while (($row = oci_fetch_row($s)) != false)
60 var_dump($row);
65 while (($row = oci_fetch_row($s)) != false)
66 var_dump($row);
71 while (($row = oci_fetch_row($s)) != false)
72 var_dump($row);
H A Dlob_018.phpt47 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
48 $result = $row['LOB_1']->load();
58 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
59 $result = $row['LOB_1']->load();
78 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
79 $result = $row['LOB_1']->load();
H A Dimp_res_1.phpt64 while (($row = oci_fetch_assoc($s)) != false)
65 var_dump($row);
70 while (($row = oci_fetch_object($s)) != false)
71 var_dump($row);
76 while (($row = oci_fetch_row($s)) != false)
77 var_dump($row);
83 var_dump($row);
89 var_dump($row);
95 var_dump($row);
101 var_dump($row);
[all …]
H A Dpecl_bug10194.phpt32 $row = oci_fetch_assoc($statement);
37 $row['CLOB']->write($string);
46 $row = oci_fetch_assoc($statement);
47 var_dump(strlen($row['CLOB']->load())); /* here it should fail */
H A Dlob_019.phpt38 var_dump($row = oci_fetch_array($s));
40 var_dump($row[0]->read(5));
41 var_dump($row[0]->read(5));
42 var_dump($row[0]->read(5));
H A Dimp_res_get_2.phpt61 while (($row = oci_fetch_array($s1, OCI_ASSOC+OCI_RETURN_NULLS))) {
62 foreach ($row as $item) {
69 while (($row = oci_fetch_array($s2, OCI_ASSOC+OCI_RETURN_NULLS))) {
70 foreach ($row as $item) {
78 while (($row = oci_fetch_array($s3, OCI_ASSOC+OCI_RETURN_NULLS))) {
79 foreach ($row as $item) {
H A Dimp_res_insert.phpt56 while (($row = oci_fetch_row($s)) !== false)
57 echo $row[0], "\n";
66 while (($row = oci_fetch_row($s)) !== false)
67 echo $row[0], "\n";
78 while (($row = oci_fetch_row($s)) !== false)
79 echo $row[0], "\n";
88 while (($row = oci_fetch_row($s)) !== false)
89 echo $row[0], "\n";
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_variable_columncount.phpt12 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
14 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
30 $row = $stmt->fetch(PDO::FETCH_ASSOC);
33 if (!isset($row['one']) || ($row['one'] != 1)) {
34 printf("[%03d + 1] Expecting array('one' => 1), got %s\n", $offset, var_export($row, true));
39 (!isset($row['two']) || ($row['two'] != 2))) {
40 …printf("[%03d + 2] Expecting array('one' => 1, 'two' => 2), got %s\n", $offset, var_export($row, t…
42 } else if (($columns == 1) && isset($row['two'])) {
H A Dbug_44454.phpt25 printf("... SELECT has returned %d row...\n", $stmt->rowCount());
26 while ($row = $stmt->fetch()) {
45 printf("... SELECT has returned %d row...\n", $stmt->rowCount());
46 foreach ($stmt as $row) {
78 ... SELECT has returned 1 row...
86 ... SELECT has returned 1 row...
96 ... SELECT has returned 1 row...
104 ... SELECT has returned 1 row...
H A Dpdo_mysql_prepare_emulated.phpt209 array('first row'));
215 array('first row'));
217 array('second row'));
243 array('row', 'row'));
275 array('row', 'row'));
278 array('row'),
289 array('row'));
367 string(3) "row"
374 string(3) "row"
409 string(3) "row"
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_type_juggling.phpt66 $row = mysqli_fetch_assoc($res);
67 if (($row['col1'] != $bind_value1) || ($row['col2'] != $bind_value1)) {
70 $row['col1'], $row['col2'],
75 $row = mysqli_fetch_assoc($res);
76 if (($row['col1'] != $bind_value1) || ($row['col2'] != $bind_value2)) {
79 $row['col1'], $row['col2'],
H A Dmysqli_pam_sha256_public_key_option.phpt28 while ($row = $res->fetch_assoc()) {
29 if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
41 if (!($row = $res->fetch_assoc())) {
45 if (strlen($row['Value']) < 100) {
54 if (strlen($row['Value']) != fwrite($fp, $row['Value'])) {
109 if (!$row = mysqli_fetch_assoc($res)) {
113 if ($row['id'] != 1) {
114 printf("[005] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
H A Dmysqli_no_reconnect.phpt28 while ($row = mysqli_fetch_assoc($res))
29 $running_threads[$row['Id']] = $row;
44 if (!$row = mysqli_fetch_assoc($res))
49 if ($row['Value'] != 2)
61 while ($row = mysqli_fetch_assoc($res))
62 $running_threads[$row['Id']] = $row;
107 while ($row = mysqli_fetch_assoc($res))
108 $running_threads[$row['Id']] = $row;
H A Dmysqli_pam_sha256.phpt28 while ($row = $res->fetch_assoc()) {
29 if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
41 if (!($row = $res->fetch_assoc())) {
45 if (strlen($row['Value']) < 100) {
92 if (!$row = mysqli_fetch_assoc($res)) {
96 if ($row['id'] != 1) {
97 printf("[004] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
H A Dmysqli_multi_query.phpt33 while ($row = mysqli_fetch_array($res))
47 while ($row = mysqli_fetch_array($res))
60 while ($row = mysqli_fetch_array($res))
77 while ($row = mysqli_fetch_array($res)) {
80 if ($row['num'] != $res_num)
81 printf("[013 - %d] Expecting %s got %s\n", $res_num, $res_num, $row['num']);
82 if ($row['somechar'] != "a")
83 printf("[014 - %d] Expecting a got %s\n", $res_num, $row['somechar']);
101 printf("[018 - %d] Expecting 1 row, got %d rows\n", $num_rows);
H A Dmysqli_stmt_send_long_data.phpt47 if (!$row = mysqli_fetch_assoc($res))
52 if (isset($row['VARIABLE_VALUE']) && !isset($row['Value']))
54 $row['Value'] = $row['VARIABLE_VALUE'];
56 if (0 === ($max_allowed_packet = (int)$row['Value']))
107 if (!$row = mysqli_fetch_assoc($res))
112 if (empty($row['id']) || empty($row['label']) || ($row['id'] != 1))
115 if ($blob != $row['label'])
H A Dmysqli_change_user_locks_temporary.phpt36 if (!$row = mysqli_fetch_assoc($res))
39 if ($row['_num'] < 1)
57 if (!$row = mysqli_fetch_assoc($res))
60 if ($row['_num'] != 3)
77 if (!$row = mysqli_fetch_assoc($res))
80 if ($row['_ok'] != 1)
91 if (!$row = mysqli_fetch_assoc($res))
94 if ($row['_ok'] != 1)
H A Dmysqli_change_user_insert_id.phpt46 if (!$row = mysqli_fetch_assoc($res))
50 if ($row['_insert_id'] != $insert_id)
52 $row['_insert_id'], $insert_id);
54 if ($row['_insert_id'] != 0)
55 printf("Expecting 0 got %d\n", $row['_insert_id']);
H A Dmysqli_pconn_reuse.phpt36 $row = mysqli_fetch_assoc($res);
37 printf("Connection 1 - SELECT @pcondisabled -> '%s'\n", $row['_test']);
43 $row = mysqli_fetch_assoc($res);
44 printf("Connection 2 (no reuse) - SELECT @pcondisabled -> '%s'\n", $row['_test']);
56 $row = mysqli_fetch_assoc($res);
57 printf("Connection 2 - SELECT @pcondisabled -> '%s'\n", $row['_test']);
71 $row = mysqli_fetch_assoc($res);
72 printf("Connection 2 (reuse) - SELECT @pcondisabled -> '%s'\n", $row['_test']);
/PHP-7.4/ext/pdo/tests/
H A Dbug_39656.phpt27 $row = $stmt->fetch();
28 var_dump( $row );
32 $row = $stmt->fetch(); // this line will crash CLI
33 var_dump( $row );
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_result.c94 unsigned int row, field; in MYSQLND_METHOD() local
109 for (row = 0; row < result->row_count; row++) { in MYSQLND_METHOD()
122 initialized[row >> 3] |= (1 << (row & 7)); in MYSQLND_METHOD()
209 int64_t row; in MYSQLND_METHOD() local
211 for (row = set->row_count - 1; row >= 0; row--) { in MYSQLND_METHOD()
709 if (*row) { in MYSQLND_METHOD()
722 (*row)[i] = NULL; in MYSQLND_METHOD()
1016 if (*row) { in MYSQLND_METHOD()
1026 (*row)[i] = NULL; in MYSQLND_METHOD()
1804 zval row; in MYSQLND_METHOD() local
[all …]

Completed in 30 milliseconds

12345678910>>...14