Skip to content

Micro optimize in_array() to avoid internal property access #5662

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
wants to merge 1 commit into from

Conversation

brainexe
Copy link
Contributor

@brainexe brainexe commented Jun 4, 2020

Just a very small micro optimize in_array() avoid internal property access as we have the arrlen already which is used in other places in this function.

@brainexe brainexe force-pushed the in_array_avoid_property_access branch from 0376347 to 7ecaf62 Compare June 4, 2020 17:54
@php-pulls php-pulls closed this in 957a0f6 Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants