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

substr_compare: Ignore length parameter if NULL #2052

Closed
wants to merge 1 commit into from

Conversation

2 participants
@Metabolix
Copy link
Contributor

commented Aug 3, 2016

Make substr_compare ignore the length if it's NULL. This allows to use the last parameter (case_insensitivity) with the default length. Fixes bug #55451.

substr_compare: Ignore length parameter if NULL
Make substr_compare ignore the length if it's NULL. This allows to
use the last parameter (case_insensitivity) with the default length.
Fixes bug #55451.

@Metabolix Metabolix force-pushed the Metabolix:php70-fix-55451 branch from b7bae73 to 5b6f306 Aug 3, 2016

@nikic

This comment has been minimized.

Copy link
Member

commented Aug 7, 2016

Merged as e616bc8 into 7.0 and up. Thanks!

@nikic nikic closed this Aug 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.