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.5.0alpha1~964 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b99aa995d08347f7b3e8410ea95673f7fa40be7;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