Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74801 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68902 invoked from network); 9 Jun 2014 14:16:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jun 2014 14:16:36 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.233 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.233 imap1.ox.privateemail.com Received: from [198.187.29.233] ([198.187.29.233:54994] helo=imap1.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/C3-45325-3C1C5935 for ; Mon, 09 Jun 2014 10:16:36 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id CF41A2000B5; Mon, 9 Jun 2014 10:16:32 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C4-4q7RtUCWN; Mon, 9 Jun 2014 10:16:32 -0400 (EDT) Received: from [192.168.0.200] (unknown [90.203.28.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 4F306200086; Mon, 9 Jun 2014 10:16:30 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) In-Reply-To: Date: Mon, 9 Jun 2014 15:16:28 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <27FC40B3-B6A6-43C4-8DE3-4A9F1C6D5DC8@ajf.me> References: <45A8B0C0-52D1-4E4C-A314-4396B6FD635E@ajf.me> To: Nikita Popov X-Mailer: Apple Mail (2.1878.2) Subject: Re: [PHP-DEV] [RFC] [PHP 6] Uniform Variable Syntax From: ajf@ajf.me (Andrea Faulds) On 9 Jun 2014, at 15:12, Nikita Popov wrote: > So I think that this will not break much code. It is also easy to = detect > and fix. (I am using this script to find potential problems: > https://gist.github.com/nikic/ffd019ef78b72934c7cc) I like that you have a script. Myself, I=92d like to see more of these. = Since your PhpParser exists, if we make some major syntax change in = PHP6, it might be possible to write a tool that would = (semi-)automatically re-write code, similar to what Python=92s 2to3 tool = does. -- Andrea Faulds http://ajf.me/