Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 25 of 96) sorted by relevance

1234

/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt16 function bind_many($offset, $link, $num_params, $rows, $eval = true) {
30 for ($j = 0; $j < $rows; $j++)
31 $params[($j * $rows) + $i] = $i;
35 $stmt_types = str_repeat("i", $num_params * $rows);
43 printf("Testing %d columns with %d rows...\n", $num_params, $rows);
55 if ($stmt->param_count != $num_params * $rows) {
68 for ($i = 0; $i < $rows; $i++)
70 $param_ref[] = &$params[($i * $rows) + $j];
77 if ($stmt->param_count != $num_params * $rows) {
122 Testing 273 columns with 240 rows...
[all …]
H A Dmysqli_result_references_mysqlnd.phpt35 $rows = array();
37 $rows[$i] = mysqli_fetch_assoc($res);
38 $references[$idx]['row_ref'] = &$rows[$i];
39 $references[$idx]['row_copy'] = $rows[$i];
40 $references[$idx]['id_ref'] = &$rows[$i]['id'];
41 $references[$idx]['id_copy'] = $rows[$i]['id'];
43 $references[$idx]['id_copy_mod']= $rows[$i]['id'] + 0;
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_commit.phpt53 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
54 if (!isset($rows[0]['label']) || ($rows[0]['label'] != 'z')) {
55 printf("[006] Record data is strange, dumping rows\n");
56 var_dump($rows);
74 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
75 if (!isset($rows[0]['label']) || ($rows[0]['label'] != 'z')) {
76 printf("[009] Record data is strange, dumping rows\n");
77 var_dump($rows);
H A Dpdo_mysql_prepare_emulated_myisam_index.phpt109 printf("[074] Expecting two rows, got %d rows\n", $tmp);
135 printf("[080] Expecting zero rows, got %d rows\n", $tmp);
142 printf("[082] Expecting two rows, got %d rows\n", $tmp);
147 printf("[084] Expecting one row, got %d rows\n", $tmp);
152 printf("[086] Expecting no rows, got %d rows\n", $tmp);
H A Dpdo_mysql_prepare_native_anonymous_placeholder.phpt164 … printf("[048] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp);
169 … printf("[050] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp);
183 printf("[074] Expecting two rows, got %d rows\n", $tmp);
219 printf("[061] Expecting zero rows, got %d rows\n", $tmp);
225 printf("[062] Expecting two rows, got %d rows\n", $tmp);
230 printf("[064] Expecting one row, got %d rows\n", $tmp);
/php-src/ext/pgsql/tests/
H A D23sync_query_params.phpt21 if (!($rows = pg_num_rows($result)))
25 for ($i=0; $i < $rows; $i++)
29 for ($i=0; $i < $rows; $i++)
33 for ($i=0; $i < $rows; $i++)
37 for ($i=0; $i < $rows; $i++)
H A D24sync_query_prepared.phpt24 if (!($rows = pg_num_rows($result)))
28 for ($i=0; $i < $rows; $i++)
32 for ($i=0; $i < $rows; $i++)
36 for ($i=0; $i < $rows; $i++)
40 for ($i=0; $i < $rows; $i++)
H A D25async_query_params.phpt31 if (!($rows = pg_num_rows($result))) {
34 for ($i=0; $i < $rows; $i++)
38 for ($i=0; $i < $rows; $i++)
42 for ($i=0; $i < $rows; $i++)
46 for ($i=0; $i < $rows; $i++)
H A D32nb_async_query.phpt37 if (!($rows = pg_num_rows($result))) {
40 for ($i=0; $i < $rows; $i++) {
43 for ($i=0; $i < $rows; $i++) {
46 for ($i=0; $i < $rows; $i++) {
49 for ($i=0; $i < $rows; $i++) {
H A D30nb_async_query_params.phpt36 if (!($rows = pg_num_rows($result))) {
39 for ($i=0; $i < $rows; $i++) {
42 for ($i=0; $i < $rows; $i++) {
45 for ($i=0; $i < $rows; $i++) {
48 for ($i=0; $i < $rows; $i++) {
H A D04async_query.phpt29 if (!($rows = pg_num_rows($result))) {
32 for ($i=0; $i < $rows; $i++)
36 for ($i=0; $i < $rows; $i++)
40 for ($i=0; $i < $rows; $i++)
44 for ($i=0; $i < $rows; $i++)
H A D06_bug73498.phpt19 $rows = pg_copy_to($db, "(SELECT * FROM {$view_name})");
21 var_dump(gettype($rows));
22 var_dump(count($rows) > 0);
H A D26async_query_prepared.phpt45 if (!($rows = pg_num_rows($result))) {
48 for ($i=0; $i < $rows; $i++)
52 for ($i=0; $i < $rows; $i++)
56 for ($i=0; $i < $rows; $i++)
60 for ($i=0; $i < $rows; $i++)
H A D31nb_async_query_prepared.phpt51 if (!($rows = pg_num_rows($result))) {
54 for ($i=0; $i < $rows; $i++) {
57 for ($i=0; $i < $rows; $i++) {
60 for ($i=0; $i < $rows; $i++) {
63 for ($i=0; $i < $rows; $i++) {
H A D06copy.phpt16 $rows = pg_copy_to($db, $table_name);
20 pg_copy_from($db, $table_name, $rows);
/php-src/ext/pdo/tests/
H A Dpdo_017.phpt51 return "Counted $res rows after $action.\n";
77 Counted 3 rows after insert.
78 Counted 0 rows after delete.
79 Counted 3 rows after rollback.
80 Counted 0 rows after delete.
81 Counted 0 rows after commit.
H A Dpdo_021.phpt43 echo 'There are ' . $num . " rows in the table.\n";
54 echo 'There are ' . $num . " rows in the table.\n";
65 There are 6 rows in the table.
66 There are 12 rows in the table.
/php-src/ext/pdo_dblib/tests/
H A Dbug_38955.phpt16 /*We see these rows */
25 /*We don't see these rows */
34 $rows = $rs->fetchAll(PDO::FETCH_ASSOC);
35 var_dump($rows);
H A Dbug_68957.phpt19 $rows = $stmt->fetchAll();
20 print_r($rows);
/php-src/ext/pdo_firebird/tests/
H A Dbug_64037.phpt25 $rows = $stmt->fetchAll();
26 var_dump($rows[0]['COST']);
27 var_dump($rows[1]['COST']);
28 var_dump($rows[2]['COST']);
H A Dbug_53280.phpt24 $rows = $stmth2->fetchAll(); // <------ OK
25 var_dump($rows);
29 $rows = $stmth1->fetchAll(); // <------- segfault
30 var_dump($rows);
/php-src/ext/standard/tests/array/
H A Darray_column_variant.phpt6 $rows = array(
12 var_dump(array_column($rows, null, 'id'));
15 var_dump(array_column($rows, null, 'foo'));
18 var_dump(array_column($rows, null));
/php-src/ext/sqlite3/tests/
H A Dsqlite3_11_numrows.phpt2 SQLite3::prepare number of rows
29 echo "Number of rows\n";
44 Number of rows
/php-src/ext/dba/tests/
H A Ddba_db4_018.phpt35 echo "Test 3 - fetch both rows from second resource\n";
41 echo "Test 4 - fetch both rows from first resource\n";
65 Test 3 - fetch both rows from second resource
68 Test 4 - fetch both rows from first resource
H A Ddba015.phpt35 echo "Test 3 - fetch both rows from second resource\n";
41 echo "Test 4 - fetch both rows from first resource\n";
65 Test 3 - fetch both rows from second resource
68 Test 4 - fetch both rows from first resource

Completed in 25 milliseconds

1234