From 378ad2f4475303c1fc580a5f6f9218c1e4aee7cf Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 31 Oct 2011 06:04:43 +0000 Subject: [PATCH] Test for #60174 (Notice when array in method prototype error) --- Zend/tests/argument_restriction_006.phpt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Zend/tests/argument_restriction_006.phpt diff --git a/Zend/tests/argument_restriction_006.phpt b/Zend/tests/argument_restriction_006.phpt new file mode 100644 index 0000000000..948fc304c7 --- /dev/null +++ b/Zend/tests/argument_restriction_006.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #60174 (Notice when array in method prototype error) +--FILE-- + +--EXPECTF-- +Strict Standards: Declaration of Sub::test() should be compatible with Base::test($foo, $extra = Array) in %sargument_restriction_006.php on line %d -- 2.50.1