Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82158 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22842 invoked from network); 8 Feb 2015 18:33:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2015 18:33:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.175 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.175 mail-we0-f175.google.com Received: from [74.125.82.175] ([74.125.82.175:33177] helo=mail-we0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/87-15550-31CA7D45 for ; Sun, 08 Feb 2015 13:33:57 -0500 Received: by mail-we0-f175.google.com with SMTP id p10so22891734wes.6 for ; Sun, 08 Feb 2015 10:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=JBEAw4HOFqRAvNVZ8NlJyJQArn7dPTVfYUVsF7E9pqM=; b=CxPHhO2Gf0FFy/WT8OTt89NWtn2hwPREmZ9wSJmK4KI2KiDEf/OVq+o5HJIJdfD6RF T3BZiv0gxRYIviZWgqVdzvZ0m7uMBCwkFXmYYRk+3eswPU+J8ARo9zZatGKNWA10xpat cIxBoWGWdhDXN1eohADaeFzQD2oiB5nj+11wDc2alo/aozHWUrX3mHYeRgqSXs9G6WEl IRIUo6qhcPLYaWNJbVQU8WmMMjX7hUbh4FQaxQXuuWNcV0UnM4Lb5qW9ek1g7Kq8elr+ YswP+r7XMaK70+PanYezeuOYScTB2xivjhOOnqWeEyTFEVg8yJUXPhvLvrAbZZ90jp7d 3Ylg== X-Received: by 10.194.237.34 with SMTP id uz2mr33209330wjc.157.1423420432270; Sun, 08 Feb 2015 10:33:52 -0800 (PST) Received: from [192.168.0.2] (cpc68956-brig15-2-0-cust215.3-3.cable.virginm.net. [82.6.24.216]) by mx.google.com with ESMTPSA id v7sm11055879wib.5.2015.02.08.10.33.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Feb 2015 10:33:51 -0800 (PST) Message-ID: <54D7ABEA.9@gmail.com> Date: Sun, 08 Feb 2015 18:33:14 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: internals@lists.php.net References: <54D606D2.7030102@lsces.co.uk> <54D73248.9030509@lsces.co.uk> <14.24.24707.48937D45@pb1.pair.com> <54D74C68.6070402@beccati.com> In-Reply-To: <54D74C68.6070402@beccati.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Dragging the legacy users forward. From: rowan.collins@gmail.com (Rowan Collins) On 08/02/2015 11:45, Matteo Beccati wrote: > On 08/02/2015 11:24, Tony Marston wrote: >> Well said. If it is not possible to have a single codebase that runs in >> both PHP 5 *AND* PHP 7 then that will be a total disaster. > > Of course you can have a single codebase running both on PHP5 and > PHP7, unless you want to use PHP7-only features. It may be true right now, but it is not inevitable. There are certain behaviour or syntax changes that could, theoretically, require the same feature to be written differently in the two versions. Luckily, such changes are rare, and are usually spotted and avoided (as with the change to DateTime typehinting mentioned recently), but it's not something that goes without saying. Regards, -- Rowan Collins [IMSoP]