Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79748 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1646 invoked from network); 16 Dec 2014 22:08:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2014 22:08:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.213.169 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.213.169 mail-ig0-f169.google.com Received: from [209.85.213.169] ([209.85.213.169:59513] helo=mail-ig0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/B4-08594-B4DA0945 for ; Tue, 16 Dec 2014 17:08:12 -0500 Received: by mail-ig0-f169.google.com with SMTP id hl2so8505558igb.0 for ; Tue, 16 Dec 2014 14:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=+9zc2wbcJLueOSawSMkNPj9yyLq1grOjjHx0m4v8ihA=; b=eXXgnrYsMoRynHHWP/z9ZOqrtrr/YgMyxrB51vety4ySXM8p8gU9XtpprCwE8Lq1Hh C3x2u2rFdf3Pamdf96w38SH/QyJD1tBHCfv/EcRZCXcCexv/ZYFcNDT1jnDzhavLtjyX 5sIUWD873wWs1jMJBRrGz/PcF5V6n9s4BrvIo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=+9zc2wbcJLueOSawSMkNPj9yyLq1grOjjHx0m4v8ihA=; b=ftdW67Qdx4HdNAiX6xaknDm174qgCppfQoIURBmLX+wWF5vnUl+bOHbTv0OE/I8HyA sggcWZhZ10V4DqWpa/Ch08zVYjv6jpFsZNOaf6SnWWiTHtsG+hT0QE1LpCC5sxUptvu9 /M57ITjndS2Z/wGLYkZCJiOkr5+88rXsLr5ff0Y+6bfBWqW1tSJynuTQdsbHp/7bVVsi 2afj1D0yFYzkE6HUQ+VwaMmjtwzge7/BGb3lisPzRqSSSP68GyXNDzzrgGkdqF0jqx6+ aL0zKB2TvWPF3eb8wnse/jyO+3VGnk0eb3QHz+jqkw/bvezmit3YCo70r9ERUSmUKh4J 3APQ== X-Gm-Message-State: ALoCoQnS07NYUe+lkwW7h/dq7/QDC6L6vJm7FY+5bjT5Q01xGlFcKAE8M5nZDjZ5Q6XMxGUfYRMD X-Received: by 10.107.18.32 with SMTP id a32mr36587202ioj.77.1418767689491; Tue, 16 Dec 2014 14:08:09 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.43.112.9 with HTTP; Tue, 16 Dec 2014 14:07:49 -0800 (PST) In-Reply-To: <71165C46-EFBD-4961-843C-71F97BCBDCB5@ajf.me> References: <8C1EFD82-CFE0-4D01-9231-2A1658B182A6@ajf.me> <71165C46-EFBD-4961-843C-71F97BCBDCB5@ajf.me> Date: Tue, 16 Dec 2014 14:07:49 -0800 X-Google-Sender-Auth: svv3vFZQc1sGvlpcXd_D8I4Tw4o Message-ID: To: Andrea Faulds Cc: Florian Margaine , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] PHP 5.7 From: aharvey@php.net (Adam Harvey) On 16 December 2014 at 13:18, Andrea Faulds wrote: > Hmm, actually, a 2to3-esque tool and a formal extension of 5.6's support = by a year sounds like a better solution. If others agree, I might withdraw = this RFC. I disagree. 2to3 wasn't a success in the Python world =E2=80=94 in the end, the only migration solution that worked there was code bases that could run on both Python 2 and 3 (with the help of userland compatibility libraries like six and python-future), and I believe the same will be true for PHP 5 and 7. More generally, I don't believe a standalone CLI tool can be the whole answer even if that wasn't a problem: too many of our users only ever run their code in shared Web server environments and aren't proficient enough at the command line (on whatever OS they choose) for that kind of tooling. I'm sure someone will write a 2to3 type tool, and that some people will find it useful, but I don't think it's the right answer in terms of advertising a migration path. Adam