From 96c84b7bc103b8515aa6b59f5f7d773a784786ec Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 10 Oct 2019 11:40:49 +0200 Subject: Fix leak on static method call on non-existent class --- Zend/tests/static_method_non_existing_class.phpt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Zend/tests/static_method_non_existing_class.phpt (limited to 'Zend/tests') diff --git a/Zend/tests/static_method_non_existing_class.phpt b/Zend/tests/static_method_non_existing_class.phpt new file mode 100644 index 0000000000..a395c054c5 --- /dev/null +++ b/Zend/tests/static_method_non_existing_class.phpt @@ -0,0 +1,15 @@ +--TEST-- +Calling a static method on a non-existing class +--FILE-- +getMessage(), "\n"; +} + +?> +--EXPECT-- +Class 'Test' not found -- cgit v1.2.1