Skip to content

substr_compare: Ignore length parameter if NULL#2052

Closed
Metabolix wants to merge 1 commit intophp:PHP-7.0from
Metabolix:php70-fix-55451
Closed

substr_compare: Ignore length parameter if NULL#2052
Metabolix wants to merge 1 commit intophp:PHP-7.0from
Metabolix:php70-fix-55451

Conversation

@Metabolix
Copy link
Contributor

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.

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.
@nikic
Copy link
Member

nikic 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants