Home
last modified time | relevance | path

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

/PHP-8.2/ext/pdo_sqlite/tests/
H A Dbug46139.phpt2 Bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE)
20 $stmt->setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_PROPS_LATE, 'Person');
25 $stmt->setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_PROPS_LATE, 'Person');
30 $stmt->setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_PROPS_LATE, 'Person');
H A Dbug52487.phpt12 $stmt->setFetchMode(PDO::FETCH_INTO, new stdClass);
/PHP-8.2/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 Dgh16703.phpt2 GH-16703: Memory leak of setFetchMode()
35 $stmt->setFetchMode(PDO::FETCH_INTO, $stmt);
H A Dpdo_012.phpt2 PDO Common: PDOStatement::setFetchMode
46 $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_014.phpt54 $this->setFetchMode(PDO::FETCH_NUM);
H A Dpdo_030.phpt30 $this->setFetchMode(PDO::FETCH_ASSOC);
/PHP-8.2/ext/pdo_mysql/tests/
H A Dbug46292.phpt2 Bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE)
38 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.phpt100 …$stmt->setFetchMode(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE, 'myclass', array('PDO shall not call __…
106 $stmt->setFetchMode(PDO::FETCH_CLASS, 'myclass', array('PDO shall call __construct()'));
140 Deprecated: PDOStatement::setFetchMode(): The PDO::FETCH_SERIALIZE mode is deprecated in %s on line…
/PHP-8.2/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
/PHP-8.2/
H A DNEWS39 . Fixed memory leak of `setFetchMode()`. (SakiTakamachi)

Completed in 35 milliseconds