Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80847 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32167 invoked from network); 19 Jan 2015 19:42:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2015 19:42:41 -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.218.54 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.218.54 mail-oi0-f54.google.com Received: from [209.85.218.54] ([209.85.218.54:64374] helo=mail-oi0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/A0-64889-F2E5DB45 for ; Mon, 19 Jan 2015 14:42:39 -0500 Received: by mail-oi0-f54.google.com with SMTP id u20so28204995oif.13 for ; Mon, 19 Jan 2015 11:42:36 -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=4X2B8k+d243XQOpTdIscYPqFewzOf7Q+x1OwpJ26CMo=; b=QYjxt9dj/jrn8yHsXN7tIpW6mKxzOwYEtTr1ZBjLp135Id/iAgtMpepIRcBJzMRQ8R 0Lf+JVBTwRcDGql2dBdMe/JNFcDsOzvcluXw/I+j9lnJuKT8ffuWF5RtgL743etwOmmt Z1YxZd7YHTORiqHURC+LDrOvtJEgtYY3bXEtRdjob9MxqeXdWi2DEDrYgVaEBnidh78k L2QkNEgMWKtCJqZoDivfXIOukkh9aMs0kMnfcegcONSyIR+STN6zk7wsVjImmMEmTXfd 4ceeuggz7RYXIeajpKmVbKk2VhJoOhZxgmRkrsJsByo9eqmz0FFqG+X1RO+3BhZHNMgi 7ssA== X-Received: by 10.60.55.169 with SMTP id t9mr338978oep.70.1421696556752; Mon, 19 Jan 2015 11:42:36 -0800 (PST) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id xs5sm6315284obc.3.2015.01.19.11.42.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jan 2015 11:42:36 -0800 (PST) Message-ID: <54BD5E20.7040004@gmail.com> Date: Mon, 19 Jan 2015 11:42:24 -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: <54BD1F32.6070802@gmail.com> In-Reply-To: <54BD1F32.6070802@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [PHP-CVS] Broken apps From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Hm, I wasn't aware quite how strict this change was - I'm definitely on > board with not allowing $this from an incompatible context, but thought > it would only be access to $this that was made illegal, not the call > itself. HHVM takes the approach of simply leaving $this undefined, but > appears to special case get_class($this). http://3v4l.org/gKWBD > http://3v4l.org/0gabo I think this is maybe what we should do, just make this another static call and ignore/null out $this if the context is not compatible. -- Stas Malyshev smalyshev@gmail.com