From e296d2443b197fce63a9752dc6d58c0fdcf0c5cc Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Sun, 6 Dec 2020 22:22:36 +0000 Subject: [PATCH] fixed description about passing [mandatory|optional] parameter order Closes GH-270. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351933 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/functions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/functions.xml b/language/functions.xml index 618c06be21..13a33c2084 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -226,7 +226,7 @@ function takes_many_args( - As of PHP 8.0.0, passing optional arguments after mandatory arguments + As of PHP 8.0.0, passing mandatory arguments after optional arguments is deprecated. This can generally be resolved by dropping the default value. One exception to this rule are arguments of the form Type $param = null, where the &null; default makes the type implicitly