diff options
Diffstat (limited to 'ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt')
-rw-r--r-- | ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt b/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt index c8cdee6f69..26432cf355 100644 --- a/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt +++ b/ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt @@ -33,7 +33,7 @@ var_dump($st->fetchAll(PDO::FETCH_FUNC, 1)); $st = $db->query('SELECT * FROM testing'); var_dump($st->fetchAll(PDO::FETCH_FUNC, array('self', 'foo'))); -class foo { +class foo { public function method($x) { return "--- $x ---"; } @@ -43,15 +43,15 @@ class bar extends foo { $st = $db->query('SELECT * FROM testing'); var_dump($st->fetchAll(PDO::FETCH_FUNC, array($this, 'parent::method'))); } - + static public function test($x, $y) { return $x .'---'. $y; } - + private function test2($x, $y) { return $x; } - + public function test3($x, $y) { return $x .'==='. $y; } |