/PHP-8.1/ext/pdo_oci/tests/ |
H A D | pdo_oci_templob_1.phpt | 30 $row = $stmt->fetch(); 33 $row = $stmt->fetch(); 36 $row = $stmt->fetch(); 39 $row = $stmt->fetch(); 42 $row = $stmt->fetch(); 45 $row = $stmt->fetch(); 48 $row = $stmt->fetch(); 51 $row = $stmt->fetch(); 54 $row = $stmt->fetch(); 57 $row = $stmt->fetch(); [all …]
|
H A D | pdo_oci_attr_prefetch_1.phpt | 24 // Verify can fetch 27 while ($r = $s->fetch()) { 35 // Verify can fetch 38 while ($r = $s->fetch()) { 46 // Verify can fetch 49 while ($r = $s->fetch()) { 57 // Verify can fetch 60 while ($r = $s->fetch()) {
|
H A D | pdo_oci_attr_action.phpt | 21 $row = $stmt->fetch(); 28 $row = $stmt->fetch(); 35 $row = $stmt->fetch(); 42 $row = $stmt->fetch();
|
H A D | pdo_oci_attr_client_identifier.phpt | 21 $row = $stmt->fetch(); 28 $row = $stmt->fetch(); 35 $row = $stmt->fetch(); 42 $row = $stmt->fetch();
|
H A D | pdo_oci_attr_client_info.phpt | 21 $row = $stmt->fetch(); 28 $row = $stmt->fetch(); 35 $row = $stmt->fetch(); 42 $row = $stmt->fetch();
|
H A D | pdo_oci_attr_module.phpt | 23 $row = $stmt->fetch(); 30 $row = $stmt->fetch(); 37 $row = $stmt->fetch();
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_fetch_both.phpt | 2 MySQL PDOStatement->fetch() 16 function fetch($offset, &$db, $query, $expect = null) { 20 $num = $stmt->fetch(PDO::FETCH_NUM); 23 $assoc = $stmt->fetch(PDO::FETCH_ASSOC); 26 $both = $stmt->fetch(PDO::FETCH_BOTH); 53 fetch(2, $db, 'SELECT 1', array(0 => '1', '1' => '1'));
|
H A D | pdo_mysql_attr_autocommit.phpt | 21 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 29 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 47 $row = $db->query('SELECT @@autocommit AS _autocommit')->fetch(PDO::FETCH_ASSOC); 58 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC); 63 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC); 69 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC); 78 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC); 85 $row = $db->query('SELECT COUNT(*) AS _num FROM test')->fetch(PDO::FETCH_ASSOC);
|
H A D | pdo_mysql_stmt_bindcolumn.phpt | 35 while ($stmt->fetch(PDO::FETCH_BOUND)) { 44 while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { 46 … printf("[005] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 51 … printf("[006] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n", 75 while ($stmt->fetch(PDO::FETCH_BOUND)) { 84 while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { 86 … printf("[010] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 91 … printf("[011] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n",
|
H A D | pdo_mysql_stmt_fetch_serialize.phpt | 2 MySQL PDOStatement->fetch(), PDO::FETCH_SERIALIZE 97 …printf("\nUsing PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize … 101 var_dump($stmt->fetch()); 103 printf("\nUsing PDO::FETCH_CLASS to fetch the object from DB and unserialize it...\n"); 107 var_dump($stmt->fetch()); 137 Using PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize it... 141 Deprecated: PDOStatement::fetch(): The PDO::FETCH_SERIALIZE mode is deprecated in %s on line %d 148 Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it...
|
/PHP-8.1/ext/pdo/ |
H A D | pdo_stmt.c | 694 if (stmt->fetch.cls.fci.size && stmt->fetch.cls.fci.params) { in do_fetch_opt_finish() 745 colno = stmt->fetch.column; in do_fetch() 836 ce = stmt->fetch.cls.ce; in do_fetch() 856 if (zend_call_function(&stmt->fetch.cls.fci, &stmt->fetch.cls.fcc) == FAILURE) { in do_fetch() 1021 ZVAL_COPY_VALUE(&stmt->fetch.cls.fci.params[idx], &stmt->fetch.func.values[idx]); in do_fetch() 1036 if (zend_call_function(&stmt->fetch.cls.fci, &stmt->fetch.cls.fcc) == FAILURE) { in do_fetch() 1057 if (zend_call_function(&stmt->fetch.func.fci, &stmt->fetch.func.fcc) == FAILURE) { in do_fetch() 1197 old_ce = stmt->fetch.cls.ce; in PHP_METHOD() 1209 stmt->fetch.cls.ce = ce; in PHP_METHOD() 1220 stmt->fetch.cls.ce = old_ce; in PHP_METHOD() [all …]
|
/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionFiber_errors.phpt | 63 Cannot fetch information from a fiber that has not been started or is terminated 64 Cannot fetch information from a fiber that has not been started or is terminated 65 Cannot fetch information from a fiber that has not been started or is terminated 68 Cannot fetch information from a fiber that has not been started or is terminated 69 Cannot fetch information from a fiber that has not been started or is terminated 70 Cannot fetch information from a fiber that has not been started or is terminated 71 Cannot fetch the callable from a fiber that has terminated
|
/PHP-8.1/ext/pdo/tests/ |
H A D | pdo_034.phpt | 2 PDO Common: PDO::FETCH_KEY_PAIR fetch mode test 24 var_dump($db->query("SELECT a,b FROM test")->fetch(PDO::FETCH_KEY_PAIR)); 26 var_dump($db->query("SELECT * FROM test")->fetch(PDO::FETCH_KEY_PAIR)); 48 Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error: PDO::FETCH_KEY_PAIR fetch mode requ… 50 Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error%spdo_034.php on line %d
|
H A D | bug_44861.phpt | 49 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_ABS, 3)); 50 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_PRIOR)); 51 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_FIRST)); 52 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_LAST)); 53 var_dump($res->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_REL, -1)); 60 var_dump($res->fetch(PDO::FETCH_NUM));
|
H A D | bug_44173.phpt | 76 PDO::query() expects exactly 2 arguments for the fetch mode provided, 4 given 78 PDO::query() expects at most 4 arguments for the fetch mode provided, 5 given 79 PDO::query() expects exactly 3 arguments for the fetch mode provided, 2 given 80 PDO::query() expects exactly 3 arguments for the fetch mode provided, 2 given 81 PDO::query() expects at least 3 arguments for the fetch mode provided, 2 given
|
H A D | bug_39656.phpt | 2 PDO Common: Bug #39656 (Crash when calling fetch() on a PDO statement object after closeCursor()) 28 $row = $stmt->fetch(); 33 $row = $stmt->fetch(); // this line will crash CLI
|
/PHP-8.1/ext/pdo_pgsql/tests/ |
H A D | disable_prepares.phpt | 24 var_dump($stmt2->fetch()); 26 var_dump($stmt2->fetch()); 34 var_dump($stmt3->fetch()); 36 var_dump($stmt3->fetch());
|
H A D | bug64953.phpt | 25 var_dump($st->fetch()); // return false 31 var_dump($st->fetch()); // return array(1) { ["i"]=> string(1) "1" } 37 var_dump($st->fetch()); 41 var_dump($st->fetch());
|
H A D | bug46274.phpt | 54 var_dump($res->fetch()); 57 var_dump($res->fetch()); 60 var_dump($res->fetch()); 63 var_dump($res->fetch());
|
H A D | bug46274_2.phpt | 54 var_dump($x = $res->fetch()); 58 var_dump($res->fetch()); 62 var_dump($res->fetch()); 66 var_dump($res->fetch());
|
/PHP-8.1/ext/pdo_dblib/tests/ |
H A D | bug_67130.phpt | 14 var_dump($stmt->fetch()); 15 var_dump($stmt->fetch()); 18 var_dump($stmt->fetch());
|
/PHP-8.1/ext/mysqli/tests/ |
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 | ps_cursor_multiple_result_sets.phpt | 31 while ($stmt->fetch()) { 37 while ($stmt->fetch()) { 47 while ($stmt->fetch()) { 54 while ($stmt->fetch()) {
|
/PHP-8.1/ext/pdo_firebird/tests/ |
H A D | rowCount.phpt | 26 $rows = $stmt->fetch(); 27 $rows = $stmt->fetch(); 28 var_dump($stmt->fetch());
|
/PHP-8.1/Zend/tests/ |
H A D | bug71428.2.phpt | 8 …public function fetch(int $first = PDO::FETCH_BOTH, int $second = PDO::FETCH_ORI_NEXT, int $third … 14 …public function fetch(int $first = PDO::FETCH_ASSOC, int $second = PDO::FETCH_ORI_PRIOR, int $thir…
|