Re: bugs needs fix before 5.4.1
Hi,
Thanks for reply.
>> https://bugs.php.net/bug.php?id=61526
>> Which is right, doc or code?
>
> Both. The parameter means that first argument (object) can be a string,
> and if it is, it will be passed to autoloader to find the class. See bug
> #55475 for the discussion.
We should improve doc, it's confusing.
>> https://bugs.php.net/bug.php?id=61507
>> This is worse than isset($str[0][0]) issue.
>
> Non-string offsets do not work in strings, because they don't make sense
> in strings.
Since the result became opposite, I think it should be
noted in migration doc and array page.
I'll do that now.
Regards,
--
Yasuo Ohgaki
[email protected]
2012/3/31 Stas Malyshev <[email protected]>:
> On 3/30/12 7:27 PM, Yasuo Ohgaki wrote:
>> Hi Stas,
>>
>> Just FYI.
>> Following bugs are needed to be fixed before 5.4.1, I think.
>>
>> https://bugs.php.net/bug.php?id=61526
>> Which is right, doc or code?
>
> Both. The parameter means that first argument (object) can be a string,
> and if it is, it will be passed to autoloader to find the class. See bug
> #55475 for the discussion.
>
>>
>> https://bugs.php.net/bug.php?id=61507
>> This is worse than isset($str[0][0]) issue.
>
> Non-string offsets do not work in strings, because they don't make sense
> in strings.
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
Thread (10 messages)