NewLanguageConstructs: improve T_ELLIPSIS error message text by jrfnl · Pull Request #803 · PHPCompatibility/PHPCompatibility
The `T_ELLIPSIS` or spread operator can be used for both variadic functions as well as for argument unpacking. Support for both was added in PHP 5.6. In PHP 7.4, a third use case is added: unpacking arrays at array declaration. This minor change is intended to make the language of the error message clearer so it will be applicable to all use-cases.
jrfnl
mentioned this pull request
40 tasks
wimg approved these changes Jun 16, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters