FAQ
Hi all,

This PR seems good fix for 5.6.

https://github.com/php/php-src/pull/463

Test script:
---------------
$a = ''; // empty string
$a[10] = 'a';
echo $a; // "Array"

$b = ' '; // non empty string
$b[10] = 'b';
echo $b; // " b"

Expected result:
----------------
" a"
" b"

Actual result:
--------------
"Array"
" b"

Current behavior does not make sense.

Regards,

--
Yasuo Ohgaki
yohgaki@ohgaki.net

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 10 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedNov 19, '13 at 11:48p
activeNov 22, '13 at 1:44a
posts10
users4
websitephp.net

People

Translate

site design / logo © 2022 Grokbase