mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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
This commit is contained in:
parent
5f8047c12b
commit
e296d2443b
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ function takes_many_args(
|
|||
</programlisting>
|
||||
</example>
|
||||
<para>
|
||||
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
|
||||
<code>Type $param = null</code>, where the &null; default makes the type implicitly
|
||||
|
|
Loading…
Reference in a new issue