Lines Matching refs:st
15 $st = $db->query('SELECT * FROM testing');
16 $st->fetchAll(PDO::FETCH_FUNC, function($x, $y) use ($st) { var_dump($st); print "data: $x, $y\n"; …
18 $st = $db->query('SELECT name FROM testing');
19 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'strtoupper'));
21 $st = $db->query('SELECT * FROM testing');
22 var_dump($st->fetchAll(PDO::FETCH_FUNC, 'nothing'));
24 $st = $db->query('SELECT * FROM testing');
25 var_dump($st->fetchAll(PDO::FETCH_FUNC, ''));
27 $st = $db->query('SELECT * FROM testing');
28 var_dump($st->fetchAll(PDO::FETCH_FUNC, NULL));
30 $st = $db->query('SELECT * FROM testing');
31 var_dump($st->fetchAll(PDO::FETCH_FUNC, 1));
33 $st = $db->query('SELECT * FROM testing');
34 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('self', 'foo')));
43 $st = $db->query('SELECT * FROM testing');
44 var_dump($st->fetchAll(PDO::FETCH_FUNC, array($this, 'parent::foo')));
62 $st = $db->query('SELECT * FROM testing');
63 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test')));
65 $st = $db->query('SELECT * FROM testing');
66 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test2')));
68 $st = $db->query('SELECT * FROM testing');
69 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'test3')));
71 $st = $db->query('SELECT * FROM testing');
72 var_dump($st->fetchAll(PDO::FETCH_FUNC, array('bar', 'inexistent')));