Skip to content

Fix (new ReflectionFunction('each'))->isDeprecated() #2586

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

Conversation

TysonAndre
Copy link
Contributor

Reflection was incorrectly returning false. This PR fixes that.
See https://wiki.php.net/rfc/deprecations_php_7_2

@KalleZ
Copy link
Member

KalleZ commented Jun 20, 2017

This should also include bug test fixes, as I'm sure there is a fair bit with each()

@nikic
Copy link
Member

nikic commented Jun 20, 2017

The functions is not marked as deprecated, because that generates a notice at each call. Per the RFC only a single deprecation notice should be generated, which is currently implemented.

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

Successfully merging this pull request may close these issues.

3 participants