From: Dmitry Stogov Date: Thu, 28 Apr 2016 16:56:10 +0000 (+0300) Subject: Fixed BC break described by bug #72119. X-Git-Tag: php-7.0.7RC1~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e45ac53ce64461e56f82f5847526a675c769f88;p=php Fixed BC break described by bug #72119. It was introduced after 7.0.5 release by attempt to fix bug #71428. --- diff --git a/Zend/tests/bug71428.1.phpt b/Zend/tests/bug71428.1.phpt index b754687560..fbf342380f 100644 --- a/Zend/tests/bug71428.1.phpt +++ b/Zend/tests/bug71428.1.phpt @@ -1,5 +1,7 @@ --TEST-- bug #71428.1: inheritance with null default values +--XFAIL-- +This is a BC break --FILE-- type_hint && proto_arg_info->allow_null && !fe_arg_info->allow_null) { /* incompatible nullability */ return 0; } +#endif /* by-ref constraints on arguments are invariant */ if (fe_arg_info->pass_by_reference != proto_arg_info->pass_by_reference) {