Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

fix for php 5.5.35/5.6.21/7.0.6 #59

Merged
merged 1 commit into from
May 18, 2016

Conversation

remicollet
Copy link
Contributor

@remicollet remicollet commented Apr 28, 2016

The security fix for #72061 introduce a minor change.

When offset is < 0, grapheme_strrpos return false (not 0)

This make test suite pass again.

P.S. PHP Release Managers are aware of this small change (waiting for their official and final answer)

P.S.2: detected by Fedora QA: See https://apps.fedoraproject.org/koschei/package/php-patchwork-utf8

@remicollet remicollet changed the title fix tests for php 5.5.35/5.6.21/7.0.6 fix for php 5.5.35/5.6.21/7.0.6 Apr 28, 2016
@remicollet
Copy link
Contributor Author

Another notice, in all case, with 7.1, negative offset will mean "from the end"

See: https://wiki.php.net/rfc/negative-string-offsets

voku added a commit to voku/portable-utf8 that referenced this pull request Apr 28, 2016
@nicolas-grekas nicolas-grekas merged commit e544aae into tchwork:master May 18, 2016
@nicolas-grekas
Copy link
Contributor

Thank you @remicollet

fabpot added a commit to symfony/polyfill that referenced this pull request May 18, 2016
This PR was merged into the 1.1-dev branch.

Discussion
----------

Fix tests for php 5.5.35/5.6.21/7.0.6

See tchwork/utf8#59

Commits
-------

99a2aeb Fix tests for php 5.5.35/5.6.21/7.0.6
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants