From: Xinchen Hui Date: Mon, 31 Oct 2011 06:04:43 +0000 (+0000) Subject: Test for #60174 (Notice when array in method prototype error) X-Git-Tag: php-5.4.0RC1~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=378ad2f4475303c1fc580a5f6f9218c1e4aee7cf;p=php Test for #60174 (Notice when array in method prototype error) --- 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