From: Felipe Pena Date: Fri, 27 Mar 2009 16:53:03 +0000 (+0000) Subject: - Add test X-Git-Tag: php-5.2.10RC1~264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9118a6ba7d956fa1409cacff94cebb305b0c3254;p=php - Add test --- diff --git a/ext/pdo/tests/bug47769.phpt b/ext/pdo/tests/bug47769.phpt new file mode 100644 index 0000000000..a6fafcdab7 --- /dev/null +++ b/ext/pdo/tests/bug47769.phpt @@ -0,0 +1,32 @@ +--TEST-- +Bug #47769 (Strange extends PDO) +--FILE-- +isProtected(); + $this->isPrivate(); + print $str ."\n"; + } +} + +$test = new test('sqlite::memory:'); +$test->quote('foo'); +$test->isProtected(); + +?> +--EXPECTF-- +this is a protected method. +this is a private method. +foo + +Fatal error: Call to protected method test::isprotected() from context '' in %s on line %d