Skip to content

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

Merged
taylorotwell merged 1 commit intolaravel:5.4from
vlakoff:str-after
Jun 1, 2017
Merged

[5.4] Fixes and optimizations for Str::after#19428
taylorotwell merged 1 commit intolaravel:5.4from
vlakoff:str-after

Conversation

@vlakoff
Copy link
Copy Markdown
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