Skip to content

Fix for empty encodedValue in php 7#1

Open
carlos22 wants to merge 2 commits intozf1:masterfrom
rukzuk:php7fix
Open

Fix for empty encodedValue in php 7#1
carlos22 wants to merge 2 commits intozf1:masterfrom
rukzuk:php7fix

Conversation

@carlos22
Copy link
Copy Markdown

PHP 7 changes the behaviour of this method. This is a fix for that. Of course the code should be changed to not use empty strings, but zf1 is legacy, so this is for legacy code which relies on this exact behaviour.
We could also check for the empty encodedValue in the error handling code.

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.

1 participant