Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81061 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3881 invoked from network); 24 Jan 2015 00:15:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jan 2015 00:15:06 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.171 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.171 mail-pd0-f171.google.com Received: from [209.85.192.171] ([209.85.192.171:33014] helo=mail-pd0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/D1-28190-904E2C45 for ; Fri, 23 Jan 2015 19:15:06 -0500 Received: by mail-pd0-f171.google.com with SMTP id fp1so645564pdb.2 for ; Fri, 23 Jan 2015 16:15:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=wWQ6w2PoOmcbsXehclzLIrDi2cjlfuOtlMBdlNWDUfA=; b=kdSRyyGABaN/xsPXDKJO6h/aeTdYKphoQ7RgtvhWNtrhViF6VZXJoPZu6nXY/mgjUs 8qrXfZAjWwC8RT5TITMaTNP7g1v69Lfz/OcrsydZ28Gzkm9uLf9MTsZBT3/iYCn/3O8y J63u6Pq+0YcdP8TeEhyrq1ube3NGUzAtMGp/KtYPsNx/cPBAAzH0E//pW5quhIzkPhQ1 MlQMVJXrs6A/HUdNdfTChh5M0kj9yRpcMGjFw7tRJnQWTmf+vPYzcPbWV0StyYmfaSsJ pHrd45gc4C6U8Y1d4DKWeVGmDyiS6KPd9BgVBkCBGDptrPnWM2V5Gyv+mmqcxT8bZUKF id/w== X-Received: by 10.68.201.1 with SMTP id jw1mr15289386pbc.167.1422058502937; Fri, 23 Jan 2015 16:15:02 -0800 (PST) Received: from stas-air.corp.wikimedia.org (tan1.corp.wikimedia.org. [198.73.209.1]) by mx.google.com with ESMTPSA id ih10sm3048849pbc.1.2015.01.23.16.15.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jan 2015 16:15:02 -0800 (PST) Message-ID: <54C2E405.4090204@gmail.com> Date: Fri, 23 Jan 2015 16:15:01 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Rowan Collins , internals@lists.php.net References: <54BEC072.5000507@mabe.berlin> <54C28B63.1040506@gmail.com> In-Reply-To: <54C28B63.1040506@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Inconsistencies in callable, call_user_func and direct variable calls From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Foo::bar(); // OK > ['Foo', 'bar'](); // OK > 'Foo::bar'(); // FATAL ERROR I'm not sure why one would ever need/want the latter. IMO, it just looks weird. -- Stas Malyshev smalyshev@gmail.com