From 13b692e4c967f00ce1fc34093821135281f8af7a Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 16 Jun 2010 23:33:01 +0000 Subject: [PATCH] - New tests related to #52098 --- ext/pdo/tests/pdo_037.phpt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ext/pdo/tests/pdo_037.phpt 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 -- 2.40.0