Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80901 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80106 invoked from network); 20 Jan 2015 21:00:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2015 21:00:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.223.176 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.223.176 mail-ie0-f176.google.com Received: from [209.85.223.176] ([209.85.223.176:34749] helo=mail-ie0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/36-49046-FD1CEB45 for ; Tue, 20 Jan 2015 16:00:15 -0500 Received: by mail-ie0-f176.google.com with SMTP id rd18so10122721iec.7 for ; Tue, 20 Jan 2015 13:00:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=gVcOuiMnXaIYB0KH8Yr9UZcJCg40+E8Uk6vLKeR7mbk=; b=EdeyrUl+3Bk2BzJ1GFkzyAD0Cg+xxmb3kR8OzapZpUNWLQsGxsxaXcECHHCxDpKw7U OXmtCKgTG+w7OYf8siUz7S7OeJWdySgCy10I6u+W+OclFE9wV51bhpZbrUM9H9VXDyDQ jkawiXrBEqKyR1yzo2j59yDzqBmMPsL/ruOP4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=gVcOuiMnXaIYB0KH8Yr9UZcJCg40+E8Uk6vLKeR7mbk=; b=dnJAe7IR0iPnrIsFwU/7Y87pEb+hspQlP5nSX2gnVx0GJ9063q1FPHN0ZTp5nRK/1C a60PlMqEiwDSdZhF54+HPmQBY4r+gffxqXWlUpRfofzzUA0EBAIpZmPO6BagIiwkmETn hdXOgQHdPgN8tdTRN69aElfvnz3k4mFb2M4saKcUIS/ePc8DUjTwUqeytcXAaJvf1Bbx N5dYeYXULpPTeB6ovLMDzQbxRJXDv7lS8G3mBvhFy9uqS7VkAeksbHldVfgTjXMUSaLV f6dT95Evvxnn6VERP38zB5KozV9rrHqcaci5M+4wSjLi40sGLCh4MdKm6DsfVmRPDSWA Ojjw== X-Gm-Message-State: ALoCoQmwhD6z/kMhvUcJ6hGlBWm/ypgQgRUlUpXR8JV/d3OgaQICSb/01cPVwHoaaRgpAZYq3gbE X-Received: by 10.50.66.198 with SMTP id h6mr30062776igt.22.1421787608315; Tue, 20 Jan 2015 13:00:08 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.43.112.9 with HTTP; Tue, 20 Jan 2015 12:59:48 -0800 (PST) In-Reply-To: <54BEC072.5000507@mabe.berlin> References: <54BEC072.5000507@mabe.berlin> Date: Tue, 20 Jan 2015 12:59:48 -0800 X-Google-Sender-Auth: F14iKzkqHpv4Tasg5l8aOAvXbKs Message-ID: To: Marc Bennewitz Cc: PHP internals , julien pauli Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Inconsistencies in callable, call_user_func and direct variable calls From: aharvey@php.net (Adam Harvey) On 20 January 2015 at 12:54, Marc Bennewitz wrote: > valid for call_user_func[_array] and callable type-hint but invalid for f= or > direct variable calls: > - string "MyClass::staticFunc" > - string "self::staticFunc" > - string "static::staticFunc" > - string "parent::func" > - string "parent::staticFunc" > > see http://3v4l.org/1oSO3 > > Thoughts ? This is https://bugs.php.net/bug.php?id=3D68475 =E2=80=94 Julien and I both= have PoC branches implementing this, and agree that it should be fixed in PHP 7, although I think we differ on whether an RFC is required or not. Adam