From: Felipe Pena Date: Wed, 16 Jun 2010 23:33:01 +0000 (+0000) Subject: - New tests related to #52098 X-Git-Tag: php-5.3.3RC1~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42c4bafbbd429c47a585ff9db2fa74dc70c88c66;p=php - New tests related to #52098 --- diff --git a/ext/pdo/tests/pdo_037.phpt b/ext/pdo/tests/pdo_037.phpt new file mode 100644 index 0000000000..a0ead4b75f --- /dev/null +++ b/ext/pdo/tests/pdo_037.phpt @@ -0,0 +1,19 @@ +--TEST-- +Crash when calling a method of a class that inherits PDOStatement +--SKIPIF-- + +--FILE-- +foo()); + +?> +--EXPECTF-- +Fatal error: Call to undefined method MyStatement::foo() in %s on line %d