Skip to content

PHP8: trailing comma in closure use list #787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MasonD opened this issue Aug 31, 2021 · 1 comment
Closed

PHP8: trailing comma in closure use list #787

MasonD opened this issue Aug 31, 2021 · 1 comment

Comments

@MasonD
Copy link

MasonD commented Aug 31, 2021

#486
Support trailing comma in closure use list, since PHP8.0

function () use ($x,) { };
@MasonD
Copy link
Author

MasonD commented Aug 31, 2021

My bad, this does seem to be supported on the php8 branch.

@MasonD MasonD closed this as completed Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant