diff --git a/ext/pdo/tests/pdo_037.phpt b/ext/pdo/tests/pdo_037.phpt new file mode 100644 index 00000000000..a0ead4b75ff --- /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