-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Patch add str_starts_with and str_ends_with #5300
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
wkhudgins92
wants to merge
22
commits into
php:master
from
wkhudgins92:patch-add-str_starts_with-and-str_ends_with
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
ab7b464
Merge pull request #3 from php/master
wkhudgins92 a709095
Added str_starts_with and str_ends_with
wkhudgins92 401b5a0
Defined arg info for str_starts_with and str_ends_with
wkhudgins92 0375e0c
Fixed typo in function name
wkhudgins92 21810c5
Added tests
wkhudgins92 85c0572
Modernized the code some as suggested by @guilliamxavier
wkhudgins92 4e94af7
Fixed typo
wkhudgins92 7ba82ca
Expanded tests
wkhudgins92 9dedd4a
Expanded null byte tests for str_starts_with and str_ends_with
wkhudgins92 321267e
Reworked str_ends_with to use memcmp
wkhudgins92 31ba825
Fix bug in str_ends_with
wkhudgins92 30a9eae
fixed trailing spaces
wkhudgins92 4403607
Modified str_ends_with tests
wkhudgins92 0ea413f
Removed stray i from vim
wkhudgins92 8292205
Simplifeid str_starts_with tests
wkhudgins92 bf63e96
changed spaces to tabs
wkhudgins92 2509782
Cleaned up str_ends_with tests
wkhudgins92 075993f
Merge branch 'master' into patch-add-str_starts_with-and-str_ends_with
wkhudgins92 1b42e9c
Defined str_starts_with and str_ends_with after merge
wkhudgins92 303b48c
Clean up string tests
wkhudgins92 52efdbf
Fix str_ends_with test
wkhudgins92 109afd0
Added one more test to str_starts_with
wkhudgins92 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.