Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59253 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32350 invoked from network); 31 Mar 2012 07:57:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2012 07:57:00 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:40345] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/B0-28591-BC8B67F4 for ; Sat, 31 Mar 2012 02:56:59 -0500 Received: by ggmb2 with SMTP id b2so841439ggm.29 for ; Sat, 31 Mar 2012 00:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=PLKs4Wlm/paQwbcqd+7wNNKTB9T7XqkdkdcCWf3DQQ0=; b=LLF1hdNN2zEfPr4pAOhUsK3pKyUmjY0odqt0g1pzOJu3ddOtwITWTmAXtmTKYsEXPq myKLJO0Pguxcv9JqQ5/nqvQiYJSTYFTRdGE8gdMaXA26NaE3TIx2elV0Q8du9WuoTb2j EuSZYvnH18UwkxPP1Cv+LbCJPWmp3dNzI844uMi90v5nbFxmBZTlXBOnQIIWrGBov5q/ l2zBGOAtoVuZDfyjsf0Kzo5dngC661KInkCsHzJr+mi78HgdgKEYJu1ylyXQM+V9Myvt XLHfIWssA1TL0T6IAMG2DHRR6qPUCZvccdTBfmAzOUKzEhP6sroXys4HCw+Wkx417TdB Jb3w== Received: by 10.101.129.7 with SMTP id g7mr344408ann.12.1333180616662; Sat, 31 Mar 2012 00:56:56 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.146.86.14 with HTTP; Sat, 31 Mar 2012 00:56:16 -0700 (PDT) In-Reply-To: <4F76B2E5.3010609@sugarcrm.com> References: <4F76B2E5.3010609@sugarcrm.com> Date: Sat, 31 Mar 2012 16:56:16 +0900 X-Google-Sender-Auth: 3VqIWwwSHKtbmT57CVHYw8qNbso Message-ID: To: Stas Malyshev Cc: "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: bugs needs fix before 5.4.1 From: yohgaki@ohgaki.net (Yasuo Ohgaki) 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 : > 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