Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82771 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81690 invoked from network); 16 Feb 2015 05:14:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2015 05:14:28 -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 74.125.82.180 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 74.125.82.180 mail-we0-f180.google.com Received: from [74.125.82.180] ([74.125.82.180:61603] helo=mail-we0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/50-05176-3BC71E45 for ; Mon, 16 Feb 2015 00:14:28 -0500 Received: by mail-we0-f180.google.com with SMTP id k11so27066062wes.11 for ; Sun, 15 Feb 2015 21:14:24 -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=kDiiWK1IC+vZijIrurycQRFYtrTqTAdHsJ+Z4bYeB/c=; b=OrX0/3naECPdGO4hf/UsHmqpvU0B1V/mJ6t6BOPg0kI4KMyuvxpAWBLhCjS3fuGH+F wmYMnKR9DGZoTYVD3t82BUAoT34sU0Q7Azftfr3Jo9B4BLnlyreZ4Tu+nn/07mOx7zQo ndk2rxm4TLJ9I19CGPrvoEbOFWnhTeHdnIRNnL0FTKM6irlIDGz30SsKmJn0Tc65bwBg oRaGfEY/98/lMCvqjtweL3Gj3+NB0l4Cegm8j8BghhvujNIMKmtlobXFyMwjhrcz5qp9 TkjhAtocRLyl3dX2oH14RPe5oMybu3Kvgq7huiMCzvVeyi3p/rVeRQM/opo3mKB83xJ8 re7A== X-Received: by 10.180.96.168 with SMTP id dt8mr8783793wib.82.1424063664220; Sun, 15 Feb 2015 21:14:24 -0800 (PST) Received: from Stas-Air.local (business-092-079-136-194.static.arcor-ip.net. [92.79.136.194]) by mx.google.com with ESMTPSA id qo10sm21041931wjc.38.2015.02.15.21.14.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Feb 2015 21:14:22 -0800 (PST) Message-ID: <54E17CAC.2070403@gmail.com> Date: Mon, 16 Feb 2015 06:14:20 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Rowan Collins , internals@lists.php.net References: <54DD1BB1.1090501@gmail.com> <54DD815F.70504@mabe.berlin> <54DD8AA9.3040808@gmail.com> <752856272.5008.1423809953291.JavaMail.open-xchange@app07.ox.hosteurope.de> <54DDAC30.7090206@gmail.com> <54DFAA20.4000900@mabe.berlin> <0C346B4A-94E7-4865-9698-044F21FDBC5F@gmail.com> <54E0F45A.6060208@mabe.berlin> <54E0F7F9.2060406@gmail.com> In-Reply-To: <54E0F7F9.2060406@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Remove $this from incompatible context From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Agreed. Personally, I'm a great fan of symettry, so part of me would > prefer to introduce a keyword for when you *can't* call a method > statically, e.g. "instance function foo() { ... }". But I guess instance This would be another form of saying "foo() method uses $this", but if that's true then once it uses $this you'd get the error anyway, so not much changes from adding "instance". -- Stas Malyshev smalyshev@gmail.com