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

[5.4] Fixes and optimizations for Str::after #19428

Merged
merged 1 commit into from
Jun 1, 2017
Merged

[5.4] Fixes and optimizations for Str::after #19428

merged 1 commit into from
Jun 1, 2017

Conversation

vlakoff
Copy link
Contributor

@vlakoff vlakoff commented May 31, 2017

Follow-up to #19357.

  • Correct results if there are multibyte characters before the search
  • Do not trigger warning if search is an empty string

Also, should be significantly faster.


Unless I'm mistaken, here it should be fine to use single-byte functions.

* Correct results if there are multibyte characters before the search
* Do not trigger warning if search is an empty string

Also, should be significantly faster.
@vlakoff vlakoff changed the title Fixes and optimizations for Str::after [5.4] Fixes and optimizations for Str::after May 31, 2017
@taylorotwell taylorotwell merged commit 5a5a4c8 into laravel:5.4 Jun 1, 2017
@vlakoff vlakoff deleted the str-after branch June 1, 2017 03:44
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.

2 participants