Home
last modified time | relevance | path

Searched refs:FETCH_FUNC (Results 1 – 6 of 6) sorted by relevance

/PHP-8.2/ext/pdo_sqlite/tests/
H A Dpdo_fetch_func_001.phpt2 Testing several callbacks using PDO::FETCH_FUNC
19 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'strtoupper'));
23 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'nothing'));
30 var_dump($st->fetchAll(PDO::FETCH_FUNC, ''));
37 var_dump($st->fetchAll(PDO::FETCH_FUNC, NULL));
44 var_dump($st->fetchAll(PDO::FETCH_FUNC, 1));
51 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('self', 'foo')));
83 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test')));
87 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test2')));
94 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test3')));
[all …]
/PHP-8.2/ext/pdo/tests/
H A Dpdo_011.phpt2 PDO Common: PDO::FETCH_FUNC and statement overloading
64 var_dump($select1->fetchAll(PDO::FETCH_FUNC|PDO::FETCH_GROUP, 'test'));
67 var_dump($select2->fetchAll(PDO::FETCH_FUNC, 'test'));
70 var_dump($select2->fetchAll(PDO::FETCH_FUNC, array('Test1','factory')));
73 var_dump($select2->fetchAll(PDO::FETCH_FUNC, array($f, 'factory')));
77 var_dump($derived->fetchAll(PDO::FETCH_FUNC, array($derived, 'retrieve')));
79 var_dump($derived->fetchAll(PDO::FETCH_FUNC, array($derived, 'reTrieve')));
81 var_dump($derived->fetchAll(PDO::FETCH_FUNC, array($derived, 'RETRIEVE')));
H A Dbug_50458.phpt2 PDO Common: Bug #50458 (PDO::FETCH_FUNC fails with Closures)
21 var_dump($res->fetchAll(PDO::FETCH_FUNC, function($a) { return strtoupper($a); }));
H A Dpecl_bug_5772.phpt2 PDO Common: PECL Bug #5772 (PDO::FETCH_FUNC breaks on mixed case func name)
25 foreach ($db->query("SELECT * FROM test")->fetchAll(PDO::FETCH_FUNC, 'heLLO') as $row) {
H A Dbug_38253.phpt26 $pdo->setAttribute (PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_FUNC);
/PHP-8.2/ext/pdo/
H A Dpdo_dbh.stub.php144 public const FETCH_FUNC = UNKNOWN; define in PDO

Completed in 8 milliseconds