/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_limits.phpt | 15 function bind_many($offset, $link, $num_params, $rows, $eval = true) { 29 for ($j = 0; $j < $rows; $j++) 30 $params[($j * $rows) + $i] = $i; 34 $stmt_types = str_repeat("i", $num_params * $rows); 42 printf("Testing %d columns with %d rows...\n", $num_params, $rows); 54 if ($stmt->param_count != $num_params * $rows) { 67 for ($i = 0; $i < $rows; $i++) 69 $param_ref[] = &$params[($i * $rows) + $j]; 76 if ($stmt->param_count != $num_params * $rows) { 121 Testing 273 columns with 240 rows... [all …]
|
H A D | mysqli_result_references_mysqlnd.phpt | 35 $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-8.2/ext/pgsql/tests/ |
H A D | 06_bug73498.phpt | 14 $rows = pg_copy_to($db, "(select * from {$view_name})"); 16 var_dump(gettype($rows)); 17 var_dump(count($rows) > 0);
|
H A D | 04async_query.phpt | 26 if (!($rows = pg_num_rows($result))) { 29 for ($i=0; $i < $rows; $i++) 33 for ($i=0; $i < $rows; $i++) 37 for ($i=0; $i < $rows; $i++) 41 for ($i=0; $i < $rows; $i++)
|
H A D | 23sync_query_params.phpt | 20 if (!($rows = pg_num_rows($result))) 24 for ($i=0; $i < $rows; $i++) 28 for ($i=0; $i < $rows; $i++) 32 for ($i=0; $i < $rows; $i++) 36 for ($i=0; $i < $rows; $i++)
|
H A D | 24sync_query_prepared.phpt | 23 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 | 25async_query_params.phpt | 30 if (!($rows = pg_num_rows($result))) { 33 for ($i=0; $i < $rows; $i++) 37 for ($i=0; $i < $rows; $i++) 41 for ($i=0; $i < $rows; $i++) 45 for ($i=0; $i < $rows; $i++)
|
H A D | 32nb_async_query.phpt | 40 if (!($rows = pg_num_rows($result))) { 43 for ($i=0; $i < $rows; $i++) { 46 for ($i=0; $i < $rows; $i++) { 49 for ($i=0; $i < $rows; $i++) { 52 for ($i=0; $i < $rows; $i++) {
|
H A D | 30nb_async_query_params.phpt | 39 if (!($rows = pg_num_rows($result))) { 42 for ($i=0; $i < $rows; $i++) { 45 for ($i=0; $i < $rows; $i++) { 48 for ($i=0; $i < $rows; $i++) { 51 for ($i=0; $i < $rows; $i++) {
|
H A D | 06copy.phpt | 14 $rows = pg_copy_to($db, $table_name); 18 pg_copy_from($db, $table_name, $rows);
|
H A D | 31nb_async_query_prepared.phpt | 54 if (!($rows = pg_num_rows($result))) { 57 for ($i=0; $i < $rows; $i++) { 60 for ($i=0; $i < $rows; $i++) { 63 for ($i=0; $i < $rows; $i++) { 66 for ($i=0; $i < $rows; $i++) {
|
H A D | 26async_query_prepared.phpt | 44 if (!($rows = pg_num_rows($result))) { 47 for ($i=0; $i < $rows; $i++) 51 for ($i=0; $i < $rows; $i++) 55 for ($i=0; $i < $rows; $i++) 59 for ($i=0; $i < $rows; $i++)
|
H A D | 18pg_escape_bytea_esc.phpt | 21 $rows = pg_fetch_all($result); 22 $unesc_image = pg_unescape_bytea($rows[0]['bin']);
|
/PHP-8.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_commit.phpt | 54 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); 55 if (!isset($rows[0]['label']) || ($rows[0]['label'] != 'z')) { 56 printf("[006] Record data is strange, dumping rows\n"); 57 var_dump($rows); 75 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); 76 if (!isset($rows[0]['label']) || ($rows[0]['label'] != 'z')) { 77 printf("[009] Record data is strange, dumping rows\n"); 78 var_dump($rows);
|
H A D | pdo_mysql_prepare_emulated.phpt | 149 … printf("[024] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 154 … printf("[026] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 168 printf("[033] Expecting two rows, got %d rows\n", $tmp); 190 printf("[040] Expecting zero rows, got %d rows\n", $tmp); 197 printf("[042] Expecting two rows, got %d rows\n", $tmp); 254 … printf("[065] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 259 … printf("[067] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 273 printf("[074] Expecting two rows, got %d rows\n", $tmp); 299 printf("[080] Expecting zero rows, got %d rows\n", $tmp); 306 printf("[082] Expecting two rows, got %d rows\n", $tmp); [all …]
|
H A D | pdo_mysql_prepare_native.phpt | 154 … printf("[017] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 159 … printf("[019] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 175 printf("[033] Expecting two rows, got %d rows\n", $tmp); 179 printf("[027] Expecting two rows, got %d rows\n", $tmp); 196 printf("[030] Expecting zero rows, got %d rows\n", $tmp); 202 printf("[032] Expecting one row, got %d rows\n", $tmp); 266 … printf("[048] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 271 … printf("[050] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 285 printf("[074] Expecting two rows, got %d rows\n", $tmp); 321 printf("[061] Expecting zero rows, got %d rows\n", $tmp); [all …]
|
/PHP-8.2/ext/pdo/tests/ |
H A D | pdo_017.phpt | 50 return "Counted $res rows after $action.\n"; 71 Counted 3 rows after insert. 72 Counted 0 rows after delete. 73 Counted 3 rows after rollback. 74 Counted 0 rows after delete. 75 Counted 0 rows after commit.
|
H A D | pdo_021.phpt | 43 echo 'There are ' . $num . " rows in the table.\n"; 54 echo 'There are ' . $num . " rows in the table.\n"; 59 There are 6 rows in the table. 60 There are 12 rows in the table.
|
/PHP-8.2/ext/oci8/tests/ |
H A D | lob_037.phpt | 56 $rows = array(); 57 $rows[0] = oci_fetch_assoc($s); 58 $rows[1] = oci_fetch_assoc($s); 60 var_dump($rows[0]['BLOB']->read(1000)); 61 var_dump($rows[1]['BLOB']->read(1000));
|
/PHP-8.2/ext/pdo_dblib/tests/ |
H A D | bug_38955.phpt | 13 /*We see these rows */ 22 /*We don't see these rows */ 31 $rows = $rs->fetchAll(PDO::FETCH_ASSOC); 32 var_dump($rows);
|
H A D | bug_68957.phpt | 16 $rows = $stmt->fetchAll(); 17 print_r($rows);
|
/PHP-8.2/ext/pdo_firebird/tests/ |
H A D | bug_64037.phpt | 26 $rows = $stmt->fetchAll(); 27 var_dump($rows[0]['COST']); 28 var_dump($rows[1]['COST']); 29 var_dump($rows[2]['COST']);
|
H A D | bug_53280.phpt | 25 $rows = $stmth2->fetchAll(); // <------ OK 26 var_dump($rows); 30 $rows = $stmth1->fetchAll(); // <------- segfault 31 var_dump($rows);
|
/PHP-8.2/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.2/ext/sqlite3/tests/ |
H A D | sqlite3_11_numrows.phpt | 2 SQLite3::prepare number of rows 29 echo "Number of rows\n"; 44 Number of rows
|