Skip to content

fix bug #53432 (Assignment via string index access on an empty string converts to array) #463

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
wants to merge 1 commit into from

Conversation

bixuehujin
Copy link
Contributor

see https://bugs.php.net/bug.php?id=53432

  • Assignment via string index on an empty string will produce a Illegal string offset
    warning now.
  • Split Zend/tests/indexing_001.phpt into multiple files for readability improvement.

… converts to array)

see https://bugs.php.net/bug.php?id=53432

- Assignment via string index on an empty string will produce a Illegal string offset
warning now.

- Split Zend/tests/indexing_001.phpt into multiple files for readability improvement.
@smalyshev
Copy link
Contributor

This is a serious change in how conversions work, so I don't think it can be done in 5.x

@yohgaki
Copy link
Contributor

yohgaki commented Nov 20, 2013

May be PHP 6?
We are discussing this issue on internals@php.net. If you would like to discuss, please subscribe the list.

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.

3 participants