Re: bugs needs fix before 5.4.1

From: Date: Sat, 31 Mar 2012 07:56:16 +0000
Subject: Re: bugs needs fix before 5.4.1
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-59253@lists.php.net to get a copy of this message
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 yohgaki@ohgaki.net 2012/3/31 Stas Malyshev <smalyshev@sugarcrm.com>: > 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

« previous php.internals (#59253) next »