Skip to content
New issue

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

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

Already on GitHub? # to your account

[9.x] PHP8 string functions for Str class #38011

Merged
merged 3 commits into from
Jul 15, 2021

Conversation

tomschlick
Copy link
Contributor

@tomschlick tomschlick commented Jul 14, 2021

Now that Laravel 9 is targeting PHP 8.0 as a minimum version we can use the new str_contains(), str_starts_with() and str_ends_with() functions internally in the \Illuminate\Support\Str class.

Relates to previous request brought up in #35439

@tomschlick tomschlick changed the title PHP8 string functions for Str class [9.x] PHP8 string functions for Str class Jul 14, 2021
@tomschlick tomschlick marked this pull request as ready for review July 14, 2021 18:46
@taylorotwell taylorotwell merged commit 331e53a into laravel:master Jul 15, 2021
@tomschlick tomschlick deleted the php8-string-functions branch July 15, 2021 13:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants