Home
last modified time | relevance | path

Searched refs:setFetchMode (Results 1 – 16 of 16) sorted by relevance

/PHP-8.1/ext/pdo_sqlite/tests/
H A Dbug46139.phpt2 Bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE)
19 $stmt->setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_PROPS_LATE, 'Person');
24 $stmt->setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_PROPS_LATE, 'Person');
29 $stmt->setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_PROPS_LATE, 'Person');
H A Dbug52487.phpt12 $stmt->setFetchMode(PDO::FETCH_INTO, new stdClass);
/PHP-8.1/ext/pdo/tests/
H A Dbug_42917.phpt2 PDO Common: Bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode)
25 $res->setFetchMode(PDO::FETCH_KEY_PAIR);
H A Dpdo_012.phpt2 PDO Common: PDOStatement::setFetchMode
43 $stmt->setFetchMode(PDO::FETCH_CLASS, 'Test', array('Changed'));
H A Dpdo_025.phpt41 $stmt->setFetchMode(PDO::FETCH_INTO, new Test);
55 $stmt->setFetchMode(PDO::FETCH_INTO, new Fail);
H A Dpdo_013.phpt27 $stmt->setFetchMode(PDO::FETCH_NUM);
H A Dpdo_026.phpt50 $stmt->setFetchMode(PDO::FETCH_ASSOC);
H A Dpdo_029.phpt56 $stmt->setFetchMode(PDO::FETCH_ASSOC);
H A Dpdo_030.phpt30 $this->setFetchMode(PDO::FETCH_ASSOC);
H A Dpdo_014.phpt51 $this->setFetchMode(PDO::FETCH_NUM);
/PHP-8.1/ext/pdo_mysql/tests/
H A Dbug46292.phpt2 Bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE)
36 var_dump($stmt->setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_CLASSTYPE | PDO::FETCH_GROUP));
H A Dpdo_mysql_stmt_fetch_serialize_simple.phpt58 … printf("\nAnd now PDO using setFetchMode(PDO::FETCH:CLASS|PDO::FETCH_SERIALIZE) + fetch()...\n");
60 … $stmt->setFetchMode(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE, 'myclass', array('Called by PDO'));
93 And now PDO using setFetchMode(PDO::FETCH:CLASS|PDO::FETCH_SERIALIZE) + fetch()...
95 Deprecated: PDOStatement::setFetchMode(): The PDO::FETCH_SERIALIZE mode is deprecated in %s on line…
H A Dpdo_mysql_stmt_fetch_serialize.phpt99 …$stmt->setFetchMode(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE, 'myclass', array('PDO shall not call __…
105 $stmt->setFetchMode(PDO::FETCH_CLASS, 'myclass', array('PDO shall call __construct()'));
139 Deprecated: PDOStatement::setFetchMode(): The PDO::FETCH_SERIALIZE mode is deprecated in %s on line…
/PHP-8.1/ext/pdo/
H A Dpdo_stmt.stub.php65 public function setFetchMode(int $mode, mixed ...$args) {} // TODO make return type void function in PDOStatement
H A Dpdo_stmt_arginfo.h109 ZEND_METHOD(PDOStatement, setFetchMode);
132 ZEND_ME(PDOStatement, setFetchMode, arginfo_class_PDOStatement_setFetchMode, ZEND_ACC_PUBLIC)
H A Dpdo_stmt.c1854 PHP_METHOD(PDOStatement, setFetchMode) in PHP_METHOD() argument

Completed in 32 milliseconds