Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85213 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50034 invoked from network); 19 Mar 2015 11:52:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2015 11:52:14 -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.218.51 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.218.51 mail-oi0-f51.google.com Received: from [209.85.218.51] ([209.85.218.51:36705] helo=mail-oi0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/52-32681-D68BA055 for ; Thu, 19 Mar 2015 06:52:14 -0500 Received: by oigv203 with SMTP id v203so62383037oig.3 for ; Thu, 19 Mar 2015 04:52:11 -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:message-id :subject:to:cc:content-type; bh=DM0lshBwnPnTvFPHK9myqEaz2x85Xms5QMNvzd6BAPY=; b=KYcEEez3wrcKupn5uL5/D0NVIAfF7xIo741LNc+6SW7E0LpE2+w1Ulfn6fdCMoJMvW 9cuXbaUZ/ODH32CWZPGvN68J0Tj+UrLMBPR77gXosdG2AD5pUVns5YapW+rS3siowtIm n+HALarQHV3Es9BYIOlcRqLT92JfG0fFi1vfM2BL7QXZbBYu3jroC0xK1x8ONi2/lp8V 1uo3+tpk7SqyrZRHkulDEB3XanVJCoGoWX/MXyMKK/shel/8earcvN3xUEU8CQwPDqFM 7Nmh5aisbQkfEQiGI1w6gejm+b5PWeekziD9Do4D7rwL7eM5l5gH1Ig8t9LaGqh+yJBQ 0u4Q== X-Received: by 10.202.57.195 with SMTP id g186mr58322301oia.86.1426765931219; Thu, 19 Mar 2015 04:52:11 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.58.2 with HTTP; Thu, 19 Mar 2015 04:51:31 -0700 (PDT) In-Reply-To: References: <54BEC072.5000507@mabe.berlin> <54C28B63.1040506@gmail.com> <54C2E405.4090204@gmail.com> Date: Thu, 19 Mar 2015 20:51:31 +0900 X-Google-Sender-Auth: X6eOh3LgzuFsoQPCby8zt-T3zlw Message-ID: To: Nicolas Grekas Cc: "internals@lists.php.net" , Stanislav Malyshev , Rowan Collins Content-Type: multipart/alternative; boundary=001a113cfe5c8210a30511a2d4ef Subject: Re: [PHP-DEV] Inconsistencies in callable, call_user_func and direct variable calls From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113cfe5c8210a30511a2d4ef Content-Type: text/plain; charset=UTF-8 Hi all, On Sun, Mar 15, 2015 at 7:15 PM, Nicolas Grekas < nicolas.grekas+php@gmail.com> wrote: > > >> Foo::bar(); // OK > > >> ['Foo', 'bar'](); // OK > > >> 'Foo::bar'(); // FATAL ERROR > > > > Hi, > > does this topic need to be addressed before PHP7 goes feature freeze? Or is > it a bugfix? (Julien already provided a patch) > I'm not familiar with writing RFCs. I fear I won't be able to handle it on > schedule if one is required. > Can someone help please? It's nice if this bug could be fixed by PHP7. Distinguishing array and callable is problematic. Array callable is better to be deprecated in the long run. IMHO. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113cfe5c8210a30511a2d4ef--