/PHP-7.0/ext/pdo_oci/tests/ |
H A D | pdo_oci_templob_1.phpt | 28 $row = $stmt->fetch(); 31 $row = $stmt->fetch(); 34 $row = $stmt->fetch(); 37 $row = $stmt->fetch(); 40 $row = $stmt->fetch(); 43 $row = $stmt->fetch(); 46 $row = $stmt->fetch(); 49 $row = $stmt->fetch(); 52 $row = $stmt->fetch(); 55 $row = $stmt->fetch(); [all …]
|
H A D | pdo_oci_attr_prefetch_1.phpt | 22 // Verify can fetch 25 while ($r = $s->fetch()) { 33 // Verify can fetch 36 while ($r = $s->fetch()) { 44 // Verify can fetch 47 while ($r = $s->fetch()) { 55 // Verify can fetch 58 while ($r = $s->fetch()) {
|
H A D | pdo_oci_attr_prefetch_2.phpt | 21 // Verify can fetch 24 while ($r = $s->fetch()) { 32 while ($r = $s->fetch()) {
|
/PHP-7.0/ext/pdo/ |
H A D | pdo_stmt.c | 809 if (stmt->fetch.cls.fci.size && stmt->fetch.cls.fci.params) { in do_fetch_opt_finish() 859 colno = stmt->fetch.column; in do_fetch() 942 ce = stmt->fetch.cls.ce; in do_fetch() 960 if (zend_call_function(&stmt->fetch.cls.fci, &stmt->fetch.cls.fcc) == FAILURE) { in do_fetch() 1136 ZVAL_COPY_VALUE(&stmt->fetch.cls.fci.params[idx], &stmt->fetch.func.values[idx]); in do_fetch() 1152 if (zend_call_function(&stmt->fetch.cls.fci, &stmt->fetch.cls.fcc) == FAILURE) { in do_fetch() 1172 if (zend_call_function(&stmt->fetch.func.fci, &stmt->fetch.func.fcc) == FAILURE) { in do_fetch() 1316 old_ce = stmt->fetch.cls.ce; in PHP_METHOD() 1332 if (!stmt->fetch.cls.ce) { in PHP_METHOD() 1348 stmt->fetch.cls.ce = old_ce; in PHP_METHOD() [all …]
|
/PHP-7.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_fetch_both.phpt | 2 MySQL PDOStatement->fetch() 15 function fetch($offset, &$db, $query, $expect = null) { 19 $num = $stmt->fetch(PDO::FETCH_NUM); 22 $assoc = $stmt->fetch(PDO::FETCH_ASSOC); 25 $both = $stmt->fetch(PDO::FETCH_BOTH); 52 fetch(2, $db, 'SELECT 1', array(0 => '1', '1' => '1'));
|
H A D | pdo_mysql_attr_autocommit.phpt | 20 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 28 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 46 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 57 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC); 62 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC); 68 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC); 77 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC); 84 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
|
H A D | pdo_mysql_stmt_bindcolumn.phpt | 34 while ($stmt->fetch(PDO::FETCH_BOUND)) { 43 while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { 45 printf("[005] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 50 … printf("[006] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n", 74 while ($stmt->fetch(PDO::FETCH_BOUND)) { 83 while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { 85 printf("[010] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 90 … printf("[011] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n",
|
H A D | pdo_mysql_pconnect.phpt | 23 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 28 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 32 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 41 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 64 $tmp = $stmt->fetch(PDO::FETCH_ASSOC); 69 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
|
/PHP-7.0/ext/pdo/tests/ |
H A D | pdo_034.phpt | 2 PDO Common: PDO::FETCH_KEY_PAIR fetch mode test 23 var_dump($db->query("SELECT a,b FROM test")->fetch(PDO::FETCH_KEY_PAIR)); 25 var_dump($db->query("SELECT * FROM test")->fetch(PDO::FETCH_KEY_PAIR)); 47 Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error: PDO::FETCH_KEY_PAIR fetch mode requ… 49 Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error%spdo_034.php on line %d
|
H A D | bug_44861.phpt | 48 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_ABS, 3)); 49 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_PRIOR)); 50 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_FIRST)); 51 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_LAST)); 52 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_REL, -1)); 59 var_dump($res->fetch(PDO::FETCH_NUM));
|
H A D | bug_39656.phpt | 2 PDO Common: Bug #39656 (Crash when calling fetch() on a PDO statement object after closeCursor()) 27 $row = $stmt->fetch(); 32 $row = $stmt->fetch(); // this line will crash CLI
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | bug63398.phpt | 27 Warning: mysqli_poll(): [1] Couldn't fetch mysqli in %sbug63398.php on line %d 29 Warning: mysqli_poll(): [1] Couldn't fetch mysqli in %sbug63398.php on line %d 33 Warning: mysqli_poll(): [1] Couldn't fetch mysqli in %sbug63398.php on line %d 35 Warning: mysqli_poll(): [1] Couldn't fetch mysqli in %sbug63398.php on line %d
|
H A D | mysqli_stmt_datatype_change.phpt | 31 var_dump($s1->fetch()); 34 var_dump($s1->fetch()); 37 var_dump($s1->fetch()); 46 var_dump($s1->fetch()); 49 var_dump($s1->fetch()); 52 var_dump($s1->fetch());
|
H A D | mysqli_stmt_prepare.phpt | 13 // Note: No SQL tests here! We can expand one of the *fetch() 16 // fetch tests, because the fetch tests would have to call prepare/execute etc. 55 Warning: mysqli_stmt_prepare(): Couldn't fetch mysqli_stmt in %s on line %d
|
H A D | mysqli_stmt_multires.phpt | 41 if (!$stmt->fetch()) { 47 if ($stmt->fetch()) { 52 if ($stmt->fetch()) { 67 if (!$stmt->fetch()) { 73 if ($stmt->fetch()) {
|
H A D | bug66124.phpt | 55 echo "fetch id:{$row['id']}\n"; 84 echo "fetch id:{$row['id']}\n"; 97 fetch id:1311200011005001566 100 fetch id:1311200011005001566
|
H A D | bug36420.phpt | 25 Warning: main(): Couldn't fetch mysqli_result in %s on line %d 27 Warning: main(): Couldn't fetch mysqli_result in %s on line %d
|
/PHP-7.0/ext/pdo_pgsql/tests/ |
H A D | disable_prepares.phpt | 22 var_dump($stmt2->fetch()); 24 var_dump($stmt2->fetch()); 32 var_dump($stmt3->fetch()); 34 var_dump($stmt3->fetch());
|
H A D | bug64953.phpt | 23 var_dump($st->fetch()); // return false 29 var_dump($st->fetch()); // return array(1) { ["i"]=> string(1) "1" } 35 var_dump($st->fetch()); 39 var_dump($st->fetch());
|
H A D | bug46274.phpt | 52 var_dump($res->fetch()); 55 var_dump($res->fetch()); 58 var_dump($res->fetch()); 61 var_dump($res->fetch());
|
H A D | bug46274_2.phpt | 52 var_dump($x = $res->fetch()); 56 var_dump($res->fetch()); 60 var_dump($res->fetch()); 64 var_dump($res->fetch());
|
/PHP-7.0/ext/pdo_dblib/tests/ |
H A D | bug_67130.phpt | 13 var_dump($stmt->fetch()); 14 var_dump($stmt->fetch()); 17 var_dump($stmt->fetch());
|
/PHP-7.0/Zend/tests/ |
H A D | bug71428.2.phpt | 8 public function fetch($first = null, $second, $third); 14 public function fetch($first = null, $second = null, $third = null);
|
/PHP-7.0/ext/pdo_firebird/tests/ |
H A D | rowCount.phpt | 24 $rows = $stmt->fetch(); 25 $rows = $stmt->fetch(); 26 var_dump($stmt->fetch());
|
/PHP-7.0/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"; 62 Test 3 - fetch both rows from second resource 65 Test 4 - fetch both rows from first resource
|