On 09/12/2021 12:45, Christoph M. Becker wrote:
The new behavior has been introduced[1] quite a while after this mail
had been sent.  I agree with the idea outlined in the commit message.

I suggest to document that in the migration guide, and in the manual proper.


Good spot. I guess it does make sense to treat this as an accident in 8.0, rather than a feature that was added and then immediately removed.

I've raised a PR to add this to the Migration Guide, and update the general description of optional parameters: https://github.com/php/doc-en/pull/1191

For some reason, the CI build failed on that PR, but on unrelated files, so I'm not sure if it's my fault or not.

Regards,

--
Rowan Tommins
[IMSoP]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to