History log of /PHP-8.2/Zend/tests/required_param_after_optional_named_args.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# afc4d67c 18-May-2021 Nikita Popov

Consistently treat optional-before-required as required

There was a loophole here when it came to usage with named arguments,
which was not intended. Close the loophole thoroughly by act

Consistently treat optional-before-required as required

There was a loophole here when it came to usage with named arguments,
which was not intended. Close the loophole thoroughly by actually
dropping the default value from the signature entirely. The default
is still used to make the type nullable, but not for anything else.

show more ...