Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65663 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10889 invoked from network); 5 Feb 2013 09:38:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2013 09:38:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.43 mail-la0-f43.google.com Received: from [209.85.215.43] ([209.85.215.43:46102] helo=mail-la0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/E2-28596-F03D0115 for ; Tue, 05 Feb 2013 04:38:24 -0500 Received: by mail-la0-f43.google.com with SMTP id ek20so5429558lab.2 for ; Tue, 05 Feb 2013 01:38:20 -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=k6cFV9nQJZm/Q5O1P5AUDYXxdCb9mx3xCi6jykPSt1A=; b=tAQrBmOgDd5H6E54ZU9Byu7K3CT/WMQYVmAg7bzSdesittangNyiscO6FuZNJm4KqY QkKEQONDyKfwdFacOUe+Ao/eYTMBAG+eQxIBS0dfI7dd0gL628rMXPZYvquiDsE/7g4a +jOK+QbMT7Kh5ZT4nswUqkTRLlFOxAr0F2MUTLY7czD71jFNkHQZ+kVTENpjMoY9KX0m HuKvw3IgoT3ENgcv0aMzvWeEzutY/H8QNUIyY26c+QJAsYKkXFra54nw0WRQ9IuoHmsI PdGKnphSqSbtrQkDSXKtKzl1vuYhgkIIm4SG6b2zbfH4QPhO2GLXYU4A5Qejxe2fMdkt IlUA== MIME-Version: 1.0 X-Received: by 10.152.104.36 with SMTP id gb4mr22463170lab.13.1360057100485; Tue, 05 Feb 2013 01:38:20 -0800 (PST) Received: by 10.112.111.131 with HTTP; Tue, 5 Feb 2013 01:38:20 -0800 (PST) In-Reply-To: References: <510EBF98.4060900@lerdorf.com> Date: Tue, 5 Feb 2013 10:38:20 +0100 Message-ID: To: Karoly Negyesi Cc: Kris Craig , Rasmus Lerdorf , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Proposal for serious BC compatibility aka language versioning From: pierre.php@gmail.com (Pierre Joye) hi Karoly, On Tue, Feb 5, 2013 at 7:35 AM, Karoly Negyesi wrote: > OK, let's try this again. > > Maybe language versioning is out. That's sad, but this thread brought > to light a much more important problem I would like to try to address. > > I have long felt the PHP team is living in another world I do. Sometimes yes, sometimes no. > Users form a pyramid. The bottom is shared hosts. Shared hosts that we > need to take into consideration. So if the shared world just barely > switched to 5.3 default then, alas, we can't release a version that > requires PHP 5.4 because there is no shared support for it. Also, it > worths mentioning that one of the more popular server OSes, Ubuntu LTS > also doesn't have a PHP 5.4 yet. Without software demanding 5.4, hosts > won't upgrade. This is a vicious circle that is superb hard to break. And we changed what we used to be or used to do to ease this process. > I was told in this thread that the new release process solves this and > "it is our and our users role to explain that to their ISPs, admins, > etc". > > Well, what am I to explain? As I mentioned previously, if a shared > host does a PHP upgrade and their users see new error messages, > then > the host have a support problem. Explaining new notices or warnings being non fatal or not adding BC issues are what apps/libraries developers should document, for previous versions. Fixing them in newer updates (even minor) is easy and will still work when executed on older PHP versions. > It would make everyone's life so much easier if all the Drupal 8 code > that is being written and tested with 5.4 would just work 5.5 without > *any* problem. That's why we do test almost all commits with all major apps or frameworks. And that's why you should do it as well with your apps and report any actual BC breaks. > I would absolutely love not to have this conversation again three > years from now when we need to decide to ship Drupal 9 with PHP 5.5 or > 5.4 -- because we could indeed do a campaign when 5.4 is due to change > to 5.5 outright because it won't break BC with 5.4. Is this absolutely > unattainable? What seems to be unattainable to me is this kind of discussions, you kept on your positions and refused to understand the actual need of adding notices or warnings for non supported/edge cases where the code behavior cannot be guaranteed. This is a circular discussion and I don't see how it could end. Cheers, -- Pierre @pierrejoye