Skip to content
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

Rename iter\fn to iter\func #79

Closed
nikic opened this issue Mar 26, 2019 · 2 comments
Closed

Rename iter\fn to iter\func #79

nikic opened this issue Mar 26, 2019 · 2 comments

Comments

@nikic
Copy link
Owner

nikic commented Mar 26, 2019

It's likely that fn will become a reserved keyword due to https://wiki.php.net/rfc/arrow_functions_v2, so iter\fn should be renamed to iter\func for version 2.0.

@nikic
Copy link
Owner Author

nikic commented Apr 19, 2019

Voting is underway and the RFC is very likely to be accepted, so should move forward here.

@nikic
Copy link
Owner Author

nikic commented May 12, 2019

Done in 2d0b618. I think in PHP 7.4 you would just use an arrow function for most of what iter\func provides though :)

@nikic nikic closed this as completed May 12, 2019
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