Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62031 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37119 invoked from network); 4 Aug 2012 03:10:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2012 03:10:06 -0000 Authentication-Results: pb1.pair.com header.from=reeze.xia@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=reeze.xia@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: reeze.xia@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:43619] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9A/E7-23476-B829C105 for ; Fri, 03 Aug 2012 23:10:04 -0400 Received: by pbbrp12 with SMTP id rp12so2519922pbb.29 for ; Fri, 03 Aug 2012 20:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type; bh=8I8MCoRnV40w1vAQ0jpwu8/+8HPjW2S3hnRwKiyOVuk=; b=kT9zrH06FcsbbvXSZTFtL9WPQfrtjBugglQyeEaoy367F8B7bx+zVAruBM34VUTJzq qPJ6CHUxnpJ/oBlWhQFFV7pV2lLbYJ3bddEJ6jIgvGncw5z5fQuy3nrRoc9JYovIhAlv yt+IiUyS65pOjJaFp/EJBh17Uf+JIviwU7Kr4+Wv9IUN5WdpMcyMKYd95/DoY2GEOiXi x519+Js+LjjcaLaugZFaXThnEkutBK8wrfoS9OmMCSHydzjdD0nBzyAwL+C2cVIMsPjk KR9FmFIyE/BhEZtXjAt04s7W0wU1MfuxvEMWEgl31f14qTeY36rp5xYxJExOld4Sapr8 2fUQ== Received: by 10.66.80.165 with SMTP id s5mr2773526pax.41.1344049800912; Fri, 03 Aug 2012 20:10:00 -0700 (PDT) Received: from [192.168.0.102] ([106.3.63.14]) by mx.google.com with ESMTPS id rz10sm4112190pbc.32.2012.08.03.20.09.57 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Aug 2012 20:10:00 -0700 (PDT) Date: Sat, 4 Aug 2012 11:11:28 +0800 To: Andrew Faulds Cc: Etienne Kneuss , Gustavo Lopes , "=?utf-8?Q?internals=40lists.php.net?=" Message-ID: <3399FC4C640241A9B85515E6A362BAB8@gmail.com> In-Reply-To: <501C5349.8070108@ajf.me> References: <501C5349.8070108@ajf.me> X-Mailer: sparrow 1.6.3beta (build 1165) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="501c92e0_4ad084e9_a155" Subject: =?utf-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9A_?=[PHP-DEV] [RFC] Remove calls with incompatible Context From: reeze.xia@gmail.com (Reeze Xia) --501c92e0_4ad084e9_a155 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =E5=9C=A8 2012=E5=B9=B48=E6=9C=884=E6=97=A5=E6=98=9F=E6=9C=9F=E5=85=AD=EF= =BC=8C=E4=B8=8A=E5=8D=886:40=EF=BC=8CAndrew =46aulds =E5=86=99=E9=81=93=EF= =BC=9A > On 03/08/12 23:36, Etienne Kneuss wrote: > > On Mon, Jul 30, 2012 at 7:31 PM, Gustavo Lopes wrote: > > > https://wiki.php.net/rfc/incompat=5Fctx > > > =20 > > > An R=46C for deprecating and removing =24this from incompatible con= text. > > > =20 > > > Comments are welcome. > > 4+ years ago Marcus already wanted to clean that up in PHP6. > > =20 > > Definitely +1. > > =20 > > Best, > > > -- > > > Gustavo Lopes > > > =20 > > > -- > > > PHP Internals - PHP Runtime Development Mailing List > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > =20 > > =20 > > =20 > =20 > While we're at it, > =20 > =24a =3D 'this'; > =24=24a =3D new StdClass(); > =20 > should be an error. > Also =24GLOBALS=5B'this'=5D =3D new StdClass(); > =20 > https://bugs.php.net/bug.php=3Fid=3D52428 then so does: extract(array('this' =3D> 'scalar')); and the similar situa= tion that may import variables. > =20 > -- =20 > Andrew =46aulds > http://ajf.me/ > =20 > =20 --501c92e0_4ad084e9_a155--