/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_limits.phpt | 27 for ($j = 0; $j < $rows; $j++) 28 $params[($j * $rows) + $i] = $i; 32 $stmt_types = str_repeat("i", $num_params * $rows); 33 $stmt_params = substr(str_repeat($stmt_params, $rows), 0, -2); 40 printf("Testing %d columns with %d rows...\n", $num_params, $rows); 52 if ($stmt->param_count != $num_params * $rows) { 65 for ($i = 0; $i < $rows; $i++) 67 $param_ref[] = &$params[($i * $rows) + $j]; 74 if ($stmt->param_count != $num_params * $rows) { 119 Testing 273 columns with 240 rows... [all …]
|
H A D | mysqli_result_references_mysqlnd.phpt | 44 $rows = array(); 46 $rows[$i] = mysqli_fetch_assoc($res); 47 $references[$idx]['row_ref'] = &$rows[$i]; 48 $references[$idx]['row_copy'] = $rows[$i]; 49 $references[$idx]['id_ref'] = &$rows[$i]['id']; 50 $references[$idx]['id_copy'] = $rows[$i]['id']; 52 $references[$idx]['id_copy_mod']= $rows[$i]['id'] + 0;
|
/PHP-5.3/ext/pdo_dblib/ |
H A D | dblib_stmt.c | 42 pdo_dblib_colval *val = &S->rows[i*S->ncols] + j; in free_rows() 49 efree(S->rows); in free_rows() 50 S->rows = NULL; in free_rows() 58 if (S->rows) { in pdo_dblib_stmt_dtor() 80 if (S->rows) { 143 S->rows = safe_emalloc(arows, size, 0); 149 S->rows = erealloc(S->rows, arows * size); 241 if (!S->rows) { 257 if (!S->rows) { 290 if (S->rows) { [all …]
|
/PHP-5.3/ext/interbase/tests/ |
H A D | 005.phpt | 127 echo "two rows\n"; 134 echo "two rows again\n"; 182 echo "three rows\n"; 191 echo "four rows\n"; 200 echo "four rows again\n"; 242 two rows 247 two rows again 256 three rows in third transaction 269 three rows 275 four rows [all …]
|
/PHP-5.3/ext/pgsql/tests/ |
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 | 03sync_query.phpt | 13 if (!($rows = pg_num_rows($result))) 17 for ($i=0; $i < $rows; $i++) 21 for ($i=0; $i < $rows; $i++) 25 for ($i=0; $i < $rows; $i++) 29 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 | 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 | 18pg_escape_bytea.phpt | 18 $rows = pg_fetch_all($result); 19 $unesc_image = pg_unescape_bytea($rows[0]['bin']);
|
/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_commit.phpt | 48 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); 49 if (!isset($rows[0]['label']) || ($rows[0]['label'] != 'z')) { 50 printf("[006] Record data is strange, dumping rows\n"); 51 var_dump($rows); 69 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); 70 if (!isset($rows[0]['label']) || ($rows[0]['label'] != 'z')) { 71 printf("[009] Record data is strange, dumping rows\n"); 72 var_dump($rows);
|
H A D | pdo_mysql_prepare_native.phpt | 151 printf("[017] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 156 printf("[019] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 172 printf("[033] Expecting two rows, got %d rows\n", $tmp); 176 printf("[027] Expecting two rows, got %d rows\n", $tmp); 193 printf("[030] Expecting zero rows, got %d rows\n", $tmp); 199 printf("[032] Expecting one row, got %d rows\n", $tmp); 263 printf("[048] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 268 printf("[050] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 282 printf("[074] Expecting two rows, got %d rows\n", $tmp); 318 printf("[061] Expecting zero rows, got %d rows\n", $tmp); [all …]
|
H A D | pdo_mysql_prepare_emulated.phpt | 145 printf("[024] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 150 printf("[026] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 164 printf("[033] Expecting two rows, got %d rows\n", $tmp); 186 printf("[040] Expecting zero rows, got %d rows\n", $tmp); 193 printf("[042] Expecting two rows, got %d rows\n", $tmp); 250 printf("[065] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp); 255 printf("[067] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp); 269 printf("[074] Expecting two rows, got %d rows\n", $tmp); 295 printf("[080] Expecting zero rows, got %d rows\n", $tmp); 302 printf("[082] Expecting two rows, got %d rows\n", $tmp); [all …]
|
/PHP-5.3/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-5.3/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-5.3/ext/pdo_firebird/tests/ |
H A D | bug_64037.phpt | 25 $rows = $stmt->fetchAll(); 26 var_dump($rows[0]['COST']); 27 var_dump($rows[1]['COST']); 28 var_dump($rows[2]['COST']);
|
H A D | bug_53280.phpt | 22 $rows = $stmth2->fetchAll(); // <------ OK 23 var_dump($rows); 27 $rows = $stmth1->fetchAll(); // <------- segfault 28 var_dump($rows);
|
/PHP-5.3/ext/sybase_ct/tests/ |
H A D | test_unbuffered_no_full_fetch.phpt | 21 // Fetch #2 - without having fetched all rows from previous query 25 // Fetch #3 - free first, without having fetched all rows from previous query 30 // Close - without having fetched all rows from previous query 39 Notice: sybase_unbuffered_query(): Sybase: Called without first fetching all rows from a previous …
|
/PHP-5.3/ext/mysql/tests/ |
H A D | mysql_num_rows.phpt | 60 printf("[032] Expecting 0 rows got %d\n", mysql_num_rows($res)); 62 $rows = 0; 64 $rows++; 66 if ($rows != mysql_num_rows($res)) 67 printf("[033] Expecting %d rows got %d\n", $rows, mysql_num_rows($res));
|
/PHP-5.3/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
|
/PHP-5.3/ext/dba/tests/ |
H A D | dba015.phpt | 31 echo "Test 3 - fetch both rows from second resource\n"; 37 echo "Test 4 - fetch both rows from first resource\n"; 64 Test 3 - fetch both rows from second resource 67 Test 4 - fetch both rows from first resource
|
H A D | dba_db4_018.phpt | 31 echo "Test 3 - fetch both rows from second resource\n"; 37 echo "Test 4 - fetch both rows from first resource\n"; 64 Test 3 - fetch both rows from second resource 67 Test 4 - fetch both rows from first resource
|