Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65591 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21673 invoked from network); 3 Feb 2013 22:22:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2013 22:22:22 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.174 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.217.174 mail-lb0-f174.google.com Received: from [209.85.217.174] ([209.85.217.174:35920] helo=mail-lb0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/D4-22879-D13EE015 for ; Sun, 03 Feb 2013 17:22:22 -0500 Received: by mail-lb0-f174.google.com with SMTP id l12so6028677lbo.5 for ; Sun, 03 Feb 2013 14:22:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=gtEUb5VAgNLXPJZYdITMO4dltb6smvXRcVFRTXo52kU=; b=J7nygrp6gfAFKJOwZIjaA37sI15f1h17VOM/SlBtQad76C+WE6l3TdwRj2JdceO7kz 8cDbk3uYu6KxTiohDYRjapwTPwd2iEdVFkoP6FAGvIFNKBnNBuqge7WK0DyWgMAo1DT1 r3BcIlfv6hrF4pV64x25Z8LEtimlNRZUFXU0Kvu8Q8X1cCa+Y970+2QHHIbxv6t0s2nk Ki/kb1/iPBaJqjfjoYJqejPesYIO4z7b2PNo4B0y0Vs777ZykSiz9ExZ20xSWBYhkXVI xVPtepuLV15K/iYFmX39fLyeLMdIaG7U7xcqv47vaY6FJcQqj648RqaPrcFQd7o+wjBd RLQA== MIME-Version: 1.0 X-Received: by 10.152.123.34 with SMTP id lx2mr17339628lab.52.1359930137891; Sun, 03 Feb 2013 14:22:17 -0800 (PST) Received: by 10.112.138.131 with HTTP; Sun, 3 Feb 2013 14:22:17 -0800 (PST) In-Reply-To: References: Date: Sun, 3 Feb 2013 23:22:17 +0100 Message-ID: To: Karoly Negyesi Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d0434bfeac9d39104d4d9680f Subject: Re: [PHP-DEV] Proposal for serious BC compatibility aka language versioning From: nikita.ppv@gmail.com (Nikita Popov) --f46d0434bfeac9d39104d4d9680f Content-Type: text/plain; charset=ISO-8859-1 On Sun, Feb 3, 2013 at 12:36 PM, Karoly Negyesi wrote: > Hi, > > So, if we are talking about PHP 6, then the opening accompanied by the version it was written for, it was tested with and then > the engine could switch to a compatibility mode for that version. > > Seems to me that this would solve the problem where a host can't upgrade to > a more modern version for fear of breaking old code. Consequently, open > source packages -- like Drupal I am deeply involved with -- can't use more > modern PHP versions decreasing the "push" for hosts to upgrade. This is a > devilish circle and it'd be great to break it. > > Regards, > > Karoly Negyesi > At least two points why this makes no sense whatsoever: 1) One would have to maintain or at least keep around all previous versions of the engine and the libraries. That would be a shitload of cruft and a lot of maintenance work. 2) Different behavior per-file is not feasible as components in both files interact. If you have one