Searched refs:FETCH_FUNC (Results 1 – 6 of 6) sorted by relevance
/PHP-8.2/ext/pdo_sqlite/tests/ |
H A D | pdo_fetch_func_001.phpt | 2 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 D | pdo_011.phpt | 2 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 D | bug_50458.phpt | 2 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 D | pecl_bug_5772.phpt | 2 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 D | bug_38253.phpt | 26 $pdo->setAttribute (PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_FUNC);
|
/PHP-8.2/ext/pdo/ |
H A D | pdo_dbh.stub.php | 144 public const FETCH_FUNC = UNKNOWN; define in PDO
|
Completed in 8 milliseconds