Skip to content

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

Closed
wants to merge 1 commit into from

3 participants

@bixuehujin

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.

@bixuehujin bixuehujin fix bug #53432 (Assignment via string index access on an empty string…
… 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.
2c67769
@smalyshev

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

@yohgaki
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.

@bixuehujin bixuehujin closed this Aug 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.