/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_limits.phpt | 12 function bind_many($offset, $link, $num_params, $rows, $eval = true) { 26 for ($j = 0; $j < $rows; $j++) 27 $params[($j * $rows) + $i] = $i; 31 $stmt_types = str_repeat("i", $num_params * $rows); 39 printf("Testing %d columns with %d rows...\n", $num_params, $rows); 51 if ($stmt->param_count != $num_params * $rows) { 64 for ($i = 0; $i < $rows; $i++) 66 $param_ref[] = &$params[($i * $rows) + $j]; 73 if ($stmt->param_count != $num_params * $rows) { 118 Testing 273 columns with 240 rows... [all …]
|
H A D | mysqli_result_references_mysqlnd.phpt | 38 $rows = array(); 40 $rows[$i] = mysqli_fetch_assoc($res); 41 $references[$idx]['row_ref'] = &$rows[$i]; 42 $references[$idx]['row_copy'] = $rows[$i]; 43 $references[$idx]['id_ref'] = &$rows[$i]['id']; 44 $references[$idx]['id_copy'] = $rows[$i]['id']; 46 $references[$idx]['id_copy_mod']= $rows[$i]['id'] + 0;
|
/PHP-8.0/ext/pgsql/tests/ |
H A D | 06_bug73498.phpt | 12 $rows = pg_copy_to($db, "(select * from {$view_name})"); 14 var_dump(gettype($rows)); 15 var_dump(count($rows) > 0);
|
H A D | 04async_query.phpt | 24 if (!($rows = pg_num_rows($result))) { 27 for ($i=0; $i < $rows; $i++) 31 for ($i=0; $i < $rows; $i++) 35 for ($i=0; $i < $rows; $i++) 39 for ($i=0; $i < $rows; $i++)
|
H A D | 23sync_query_params.phpt | 18 if (!($rows = pg_num_rows($result))) 22 for ($i=0; $i < $rows; $i++) 26 for ($i=0; $i < $rows; $i++) 30 for ($i=0; $i < $rows; $i++) 34 for ($i=0; $i < $rows; $i++)
|
H A D | 24sync_query_prepared.phpt | 21 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 D | 25async_query_params.phpt | 28 if (!($rows = pg_num_rows($result))) { 31 for ($i=0; $i < $rows; $i++) 35 for ($i=0; $i < $rows; $i++) 39 for ($i=0; $i < $rows; $i++) 43 for ($i=0; $i < $rows; $i++)
|
H A D | 30nb_async_query_params.phpt | 37 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 D | 32nb_async_query.phpt | 38 if (!($rows = pg_num_rows($result))) { 41 for ($i=0; $i < $rows; $i++) { 44 for ($i=0; $i < $rows; $i++) { 47 for ($i=0; $i < $rows; $i++) { 50 for ($i=0; $i < $rows; $i++) {
|
H A D | 06copy.phpt | 12 $rows = pg_copy_to($db, $table_name); 16 pg_copy_from($db, $table_name, $rows);
|
H A D | 26async_query_prepared.phpt | 42 if (!($rows = pg_num_rows($result))) { 45 for ($i=0; $i < $rows; $i++) 49 for ($i=0; $i < $rows; $i++) 53 for ($i=0; $i < $rows; $i++) 57 for ($i=0; $i < $rows; $i++)
|
H A D | 31nb_async_query_prepared.phpt | 52 if (!($rows = pg_num_rows($result))) { 55 for ($i=0; $i < $rows; $i++) { 58 for ($i=0; $i < $rows; $i++) { 61 for ($i=0; $i < $rows; $i++) { 64 for ($i=0; $i < $rows; $i++) {
|
H A D | 18pg_escape_bytea_before.phpt | 19 $rows = pg_fetch_all($result); 20 $unesc_image = pg_unescape_bytea($rows[0]['bin']);
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_commit.phpt | 53 $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 D | pdo_mysql_prepare_emulated.phpt | 147 … printf("[024] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 152 … printf("[026] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 166 printf("[033] Expecting two rows, got %d rows\n", $tmp); 188 printf("[040] Expecting zero rows, got %d rows\n", $tmp); 195 printf("[042] Expecting two rows, got %d rows\n", $tmp); 252 … printf("[065] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 257 … printf("[067] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 271 printf("[074] Expecting two rows, got %d rows\n", $tmp); 297 printf("[080] Expecting zero rows, got %d rows\n", $tmp); 304 printf("[082] Expecting two rows, got %d rows\n", $tmp); [all …]
|
H A D | pdo_mysql_prepare_native.phpt | 153 … printf("[017] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 158 … printf("[019] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 174 printf("[033] Expecting two rows, got %d rows\n", $tmp); 178 printf("[027] Expecting two rows, got %d rows\n", $tmp); 195 printf("[030] Expecting zero rows, got %d rows\n", $tmp); 201 printf("[032] Expecting one row, got %d rows\n", $tmp); 265 … printf("[048] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 270 … printf("[050] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 284 printf("[074] Expecting two rows, got %d rows\n", $tmp); 320 printf("[061] Expecting zero rows, got %d rows\n", $tmp); [all …]
|
/PHP-8.0/ext/oci8/tests/ |
H A D | lob_037.phpt | 54 $rows = array(); 55 $rows[0] = oci_fetch_assoc($s); 56 $rows[1] = oci_fetch_assoc($s); 58 var_dump($rows[0]['BLOB']->read(1000)); 59 var_dump($rows[1]['BLOB']->read(1000));
|
/PHP-8.0/ext/pdo/tests/ |
H A D | pdo_017.phpt | 49 return "Counted $res rows after $action.\n"; 70 Counted 3 rows after insert. 71 Counted 0 rows after delete. 72 Counted 3 rows after rollback. 73 Counted 0 rows after delete. 74 Counted 0 rows after commit.
|
H A D | pdo_021.phpt | 42 echo 'There are ' . $num . " rows in the table.\n"; 53 echo 'There are ' . $num . " rows in the table.\n"; 58 There are 6 rows in the table. 59 There are 12 rows in the table.
|
/PHP-8.0/ext/pdo_firebird/tests/ |
H A D | bug_64037.phpt | 24 $rows = $stmt->fetchAll(); 25 var_dump($rows[0]['COST']); 26 var_dump($rows[1]['COST']); 27 var_dump($rows[2]['COST']);
|
H A D | bug_53280.phpt | 23 $rows = $stmth2->fetchAll(); // <------ OK 24 var_dump($rows); 28 $rows = $stmth1->fetchAll(); // <------- segfault 29 var_dump($rows);
|
/PHP-8.0/ext/pdo_dblib/tests/ |
H A D | bug_38955.phpt | 12 /*We see these rows */ 21 /*We don't see these rows */ 30 $rows = $rs->fetchAll(PDO::FETCH_ASSOC); 31 var_dump($rows);
|
H A D | bug_68957.phpt | 15 $rows = $stmt->fetchAll(); 16 print_r($rows);
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_column_variant.phpt | 6 $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-8.0/ext/sqlite3/tests/ |
H A D | sqlite3_11_numrows.phpt | 2 SQLite3::prepare number of rows 27 echo "Number of rows\n"; 42 Number of rows
|