Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-8.1/ext/pdo_pgsql/tests/
H A Dlarge_objects.phpt42 while (($row = $stmt->fetch(PDO::FETCH_ASSOC))) {
43 var_dump($row['blobid']);
53 while (($row = $stmt->fetch(PDO::FETCH_ASSOC))) {
54 var_dump($row['blobid']);
55 var_dump(is_int($row['bloboid']));
64 while (($row = $stmt->fetch(PDO::FETCH_ASSOC))) {
65 var_dump($row['blobid']);
66 var_dump(is_int($row['bloboid']));
/PHP-8.1/ext/pdo_mysql/tests/
H A Dbug_44454.phpt27 printf("... SELECT has returned %d row...\n", $stmt->rowCount());
28 while ($row = $stmt->fetch()) {
47 printf("... SELECT has returned %d row...\n", $stmt->rowCount());
48 foreach ($stmt as $row) {
80 ... SELECT has returned 1 row...
88 ... SELECT has returned 1 row...
98 ... SELECT has returned 1 row...
106 ... SELECT has returned 1 row...
H A Dpdo_mysql_rollback.phpt21 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
22 $num = $row['_num'];
26 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
27 if ($row['_num'] != $num)
32 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
33 if ($row['_num'] != $num)
56 $row = $db->query('SELECT COUNT(*) AS _num FROM test2')->fetch(PDO::FETCH_ASSOC);
57 if ($row['_num'] != 1)
H A Dpdo_mysql_stmt_variable_columncount.phpt11 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
13 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
27 $row = $stmt->fetch(PDO::FETCH_ASSOC);
30 if (!isset($row['one']) || ($row['one'] != 1)) {
31 … printf("[%03d + 1] Expecting array('one' => 1), got %s\n", $offset, var_export($row, true));
36 (!isset($row['two']) || ($row['two'] != 2))) {
37 …f("[%03d + 2] Expecting array('one' => 1, 'two' => 2), got %s\n", $offset, var_export($row, true));
39 } else if (($columns == 1) && isset($row['two'])) {
H A Dpdo_mysql_prepare_emulated.phpt247 array('row', 'row'));
279 array('row', 'row'));
282 array('row'),
293 array('row'));
352 string(9) "first row"
357 string(10) "second row"
366 string(3) "row"
373 string(3) "row"
391 string(9) "first row"
405 string(3) "row"
[all …]
/PHP-8.1/ext/mysqli/tests/
H A Dgh11438.phpt27 while ($row = $res->fetch_assoc()) {
28 if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
66 if (!$row = mysqli_fetch_assoc($res)) {
70 if (!is_string($row['USER()']) || !str_starts_with($row['USER()'], 'shatest')) {
71 printf("[004] Expecting 1 got %s/'%s'", gettype($row['USER()']), $row['USER()']);
H A Dbug55283.phpt22 $row = NULL;
24 $row = $res->fetch_row();
27 while ($row = $res->fetch_row())
28 if ($row[0] == 'have_ssl')
36 if (empty($row))
39 if (($row[1] == 'NO') || ($row[1] == 'DISABLED'))
H A Dmysqli_multi_query.phpt24 while ($row = mysqli_fetch_array($res))
38 while ($row = mysqli_fetch_array($res))
51 while ($row = mysqli_fetch_array($res))
68 while ($row = mysqli_fetch_array($res)) {
71 if ($row['num'] != $res_num)
72 printf("[013 - %d] Expecting %s got %s\n", $res_num, $res_num, $row['num']);
73 if ($row['somechar'] != "a")
74 printf("[014 - %d] Expecting a got %s\n", $res_num, $row['somechar']);
92 printf("[018 - %d] Expecting 1 row, got %d rows\n", $num_rows);
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_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_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'])) {
108 if (!$row = mysqli_fetch_assoc($res)) {
112 if ($row['id'] != 1) {
113 printf("[005] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
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_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)
/PHP-8.1/ext/gd/libgd/
H A Dgd_wbmp.c147 int col, row, pos; in gdImageCreateFromWBMPCtx() local
165 for (row = 0; row < wbmp->height; row++) { in gdImageCreateFromWBMPCtx()
168 gdImageSetPixel(im, col, row, white); in gdImageCreateFromWBMPCtx()
170 gdImageSetPixel(im, col, row, black); in gdImageCreateFromWBMPCtx()
/PHP-8.1/ext/oci8/tests/
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 Dlob_026.phpt41 var_dump($row = oci_fetch_array($s));
42 var_dump(oci_lob_append($row[0], $blob));
43 var_dump(oci_lob_read($row[0], 10000));
51 $row = oci_fetch_array($s);
53 var_dump(oci_lob_read($row[0], 10000));
H A Dlob_004.phpt41 var_dump($row = oci_fetch_array($s));
43 var_dump($row[0]->append($blob));
44 var_dump($row[0]->read(10000));
52 $row = oci_fetch_array($s);
54 var_dump($row[0]->read(10000));
H A Dbug40415.phpt52 while ($row = oci_fetch_assoc($stmt)) {
53 print "Got row \"".$row['ID1']."\". Now getting nested cursor:\n";
54 var_dump(oci_execute($row['CURSOR']));
55 while ($row_n = oci_fetch_assoc($row['CURSOR']) ) {
101 Got row "11". Now getting nested cursor:
115 Got row "12". Now getting nested cursor:
129 Got row "13". Now getting nested cursor:
H A Dxmltype_02.phpt63 // Query the row back
68 $row = oci_fetch_array($s, OCI_NUM);
70 var_dump($row);
74 $sx = simplexml_load_string($row[0]->load());
75 $row[0]->free();
94 // Query the changed row back and print it
99 $row = oci_fetch_array($s, OCI_NUM);
100 var_dump($row[0]->load());
101 $row[0]->free();
H A Dimp_res_2.phpt60 while (($row = oci_fetch_row($s)) != false)
61 var_dump($row);
66 while (($row = oci_fetch_row($s)) != false)
67 var_dump($row);
72 while (($row = oci_fetch_row($s)) != false)
73 var_dump($row);
H A Dimp_res_1.phpt65 while (($row = oci_fetch_assoc($s)) != false)
66 var_dump($row);
71 while (($row = oci_fetch_object($s)) != false)
72 var_dump($row);
77 while (($row = oci_fetch_row($s)) != false)
78 var_dump($row);
84 var_dump($row);
90 var_dump($row);
96 var_dump($row);
102 var_dump($row);
[all …]
H A Dimp_res_get_2.phpt62 while (($row = oci_fetch_array($s1, OCI_ASSOC+OCI_RETURN_NULLS))) {
63 foreach ($row as $item) {
70 while (($row = oci_fetch_array($s2, OCI_ASSOC+OCI_RETURN_NULLS))) {
71 foreach ($row as $item) {
79 while (($row = oci_fetch_array($s3, OCI_ASSOC+OCI_RETURN_NULLS))) {
80 foreach ($row as $item) {
H A Dlob_018.phpt49 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
50 $result = $row['LOB_1']->load();
60 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
61 $result = $row['LOB_1']->load();
80 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
81 $result = $row['LOB_1']->load();
/PHP-8.1/ext/pgsql/
H A Dpgsql.stub.php177 * @param string|int $row
183 * @param string|int $row
199 function pg_fetch_assoc(PgSql\Result $result, ?int $row = null): array|false {} argument
222 function pg_result_seek(PgSql\Result $result, int $row): bool {} argument
224 /** @param string|int $row */
225 function pg_field_prtlen(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {} argument
228 * @param string|int $row
232 function pg_fieldprtlen(PgSql\Result $result, $row, string|int $field = UNKNOWN): int|false {} argument
234 /** @param string|int $row */
238 * @param string|int $row
[all …]
/PHP-8.1/ext/pdo/tests/
H A Dbug_39656.phpt28 $row = $stmt->fetch();
29 var_dump( $row );
33 $row = $stmt->fetch(); // this line will crash CLI
34 var_dump( $row );

Completed in 55 milliseconds

12345678910>>...15