From 36571044a0df8677d44b621d9cec3039f7bb6ea8 Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Thu, 9 Sep 2021 22:15:38 +0100 Subject: [PATCH] changelog for typeerror -> argumentcounterror in PHP 7.1.0 --- language/predefined/typeerror.xml | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/language/predefined/typeerror.xml b/language/predefined/typeerror.xml index d0cc8ee56b..5fbf6057c0 100644 --- a/language/predefined/typeerror.xml +++ b/language/predefined/typeerror.xml @@ -29,10 +29,6 @@ A value being returned from a function does not match the declared function return type. - - An invalid number of arguments are passed - to a built-in PHP function (strict mode only). - @@ -70,6 +66,32 @@ + +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 7.1.0 + + A TypeError is no longer thrown when + an invalid number of arguments are passed to a built-in PHP function + in strict mode. + Instead, an ArgumentCountError is raised. + + + + + +
+