Searched refs:setFetchMode (Results 1 – 16 of 16) sorted by relevance
/PHP-8.1/ext/pdo_sqlite/tests/ |
H A D | bug46139.phpt | 2 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 D | bug52487.phpt | 12 $stmt->setFetchMode(PDO::FETCH_INTO, new stdClass);
|
/PHP-8.1/ext/pdo/tests/ |
H A D | bug_42917.phpt | 2 PDO Common: Bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode) 25 $res->setFetchMode(PDO::FETCH_KEY_PAIR);
|
H A D | pdo_012.phpt | 2 PDO Common: PDOStatement::setFetchMode 43 $stmt->setFetchMode(PDO::FETCH_CLASS, 'Test', array('Changed'));
|
H A D | pdo_025.phpt | 41 $stmt->setFetchMode(PDO::FETCH_INTO, new Test); 55 $stmt->setFetchMode(PDO::FETCH_INTO, new Fail);
|
H A D | pdo_013.phpt | 27 $stmt->setFetchMode(PDO::FETCH_NUM);
|
H A D | pdo_026.phpt | 50 $stmt->setFetchMode(PDO::FETCH_ASSOC);
|
H A D | pdo_029.phpt | 56 $stmt->setFetchMode(PDO::FETCH_ASSOC);
|
H A D | pdo_030.phpt | 30 $this->setFetchMode(PDO::FETCH_ASSOC);
|
H A D | pdo_014.phpt | 51 $this->setFetchMode(PDO::FETCH_NUM);
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | bug46292.phpt | 2 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 D | pdo_mysql_stmt_fetch_serialize_simple.phpt | 58 … 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 D | pdo_mysql_stmt_fetch_serialize.phpt | 99 …$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 D | pdo_stmt.stub.php | 65 public function setFetchMode(int $mode, mixed ...$args) {} // TODO make return type void function in PDOStatement
|
H A D | pdo_stmt_arginfo.h | 109 ZEND_METHOD(PDOStatement, setFetchMode); 132 ZEND_ME(PDOStatement, setFetchMode, arginfo_class_PDOStatement_setFetchMode, ZEND_ACC_PUBLIC)
|
H A D | pdo_stmt.c | 1854 PHP_METHOD(PDOStatement, setFetchMode) in PHP_METHOD() argument
|
Completed in 83 milliseconds