Skip to content

Evaluate str_starts_with and str_ends_with on constants at compile time #5539

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

TysonAndre
Copy link
Contributor

When both arguments are strings,
this is guaranteed not to emit notices.

When both arguments are strings,
this is guaranteed not to emit notices.
@carusogabriel
Copy link
Contributor

@nikic @TysonAndre Is there any rule of thumb when new functions should or should not be included in the opcache extension for optimization?

Asking it, so I can help during the review of new functions and request these additions :)

@php-pulls php-pulls closed this in 9f8f84a May 7, 2020
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