You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated: Optional parameter $param_optional declared before required parameter $param_required is implicitly treated as a required parameter in […]```
It seems having a nullable parameter will prevent the deprecation from being triggered. See https://3v4l.org/biVG1#v8.1.2 for a comparison.
Description
The following code:
Resulted in this output:
But I expected this output instead:
It seems having a nullable parameter will prevent the deprecation from being triggered. See https://3v4l.org/biVG1#v8.1.2 for a comparison.
PHP Version
>=PHP8.0
Operating System
No response