Searched refs:setFetchMode (Results 1 – 18 of 18) sorted by relevance
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug46139.phpt | 2 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 D | bug52487.phpt | 12 $stmt->setFetchMode(PDO::FETCH_INTO, new stdClass);
|
/php-src/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 | gh16703.phpt | 2 GH-16703: Memory leak of setFetchMode() 35 $stmt->setFetchMode(PDO::FETCH_INTO, $stmt);
|
H A D | pdo_012.phpt | 2 PDO Common: PDOStatement::setFetchMode 46 $stmt->setFetchMode(PDO::FETCH_CLASS, TestClass::class, 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 | 54 $this->setFetchMode(PDO::FETCH_NUM);
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug46292.phpt | 2 Bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE) 34 var_dump($stmt->setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_CLASSTYPE | PDO::FETCH_GROUP));
|
H A D | pdo_mysql_stmt_fetch_serialize_simple.phpt | 57 … printf("\nAnd now PDO using setFetchMode(PDO::FETCH:CLASS|PDO::FETCH_SERIALIZE) + fetch()...\n"); 59 … $stmt->setFetchMode(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE, 'myclass', array('Called by PDO')); 97 And now PDO using setFetchMode(PDO::FETCH:CLASS|PDO::FETCH_SERIALIZE) + fetch()... 99 Deprecated: PDOStatement::setFetchMode(): The PDO::FETCH_SERIALIZE mode is deprecated in %s on line…
|
H A D | pdo_mysql_stmt_fetch_serialize_fetch_class.phpt | 96 …$stmt->setFetchMode(PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE, 'myclass', array('PDO shall not call __… 121 Deprecated: PDOStatement::setFetchMode(): The PDO::FETCH_SERIALIZE mode is deprecated in %s on line…
|
H A D | pdo_mysql_stmt_fetch_class.phpt | 96 $stmt->setFetchMode(PDO::FETCH_CLASS, 'myclass', array('PDO shall call __construct()'));
|
/php-src/ext/pdo/ |
H A D | pdo_stmt.stub.php | 65 public function setFetchMode(int $mode, mixed ...$args): true {} function in PDOStatement
|
H A D | pdo_stmt_arginfo.h | 108 ZEND_METHOD(PDOStatement, setFetchMode); 130 ZEND_ME(PDOStatement, setFetchMode, arginfo_class_PDOStatement_setFetchMode, ZEND_ACC_PUBLIC)
|
H A D | pdo_stmt.c | 1843 PHP_METHOD(PDOStatement, setFetchMode) in PHP_METHOD() argument
|
Completed in 25 milliseconds