Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80081 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11927 invoked from network); 2 Jan 2015 01:31:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jan 2015 01:31:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=mails@thomasbley.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mails@thomasbley.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thomasbley.de from 85.13.137.24 cause and error) X-PHP-List-Original-Sender: mails@thomasbley.de X-Host-Fingerprint: 85.13.137.24 dd15934.kasserver.com Received: from [85.13.137.24] ([85.13.137.24:58712] helo=dd15934.kasserver.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/F5-18015-5E4F5A45 for ; Thu, 01 Jan 2015 20:31:18 -0500 Received: from dd15934.kasserver.com (dd0802.kasserver.com [85.13.143.1]) by dd15934.kasserver.com (Postfix) with ESMTPSA id 212DE26055B; Fri, 2 Jan 2015 02:31:14 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-SenderIP: 95.90.235.1 User-Agent: ALL-INKL Webmail 2.11 In-Reply-To: <54A5ECF3.70504@gmail.com> References: <41D5BB0B-73AF-488E-968D-90B2878E3178@ajf.me> <54A466CB.9020400@gmail.com> <54A5E309.4050109@gmail.com> <20150102002602.AE5CE260997@dd15934.kasserver.com><54A5ECF3.70504@gmail.com> To: ajf@ajf.me, smalyshev@gmail.com Cc: internals@lists.php.net Message-ID: <20150102013114.212DE26055B@dd15934.kasserver.com> Date: Fri, 2 Jan 2015 02:31:14 +0100 (CET) Subject: Re: [PHP-DEV] [RFC] Scalar Type Hints From: mails@thomasbley.de ("Thomas Bley") Stanislav Malyshev wrote on 02.01.2015 01:57: > Hi! > >> ZF2 completely broke compatibility with ZF1 users, so I think this is >> a bad example. > > We're talking about different things here. PHP is an universal platform > and PHP 7 would be offered as upgrade to all PHP users - running ZF1, > ZF2, Symphony, Drupal, anything. If there would be a sizeable chance > that their existing code would not run on PHP 7, people would not > upgrade. Our upgrade record is not stellar as it is, even with > extraordinary effort we put in keeping BC 5.4->5.6. If we break major > libraries in 7, I am afraid we'd have adoption problem. > > ZF2 wasn't really an upgrade from ZF1 - nobody expected you to just jump > from ZF1 to ZF2 on the same code. So it's not the point here, the point > is that ZF2 is an example of major framework that uses the feature which > this RFC proposes to break. There are more. > -- > Stas Malyshev > smalyshev@gmail.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > I don't see ZF2 as a big problem: /tmp/zf/ZendFramework-2.3.3# grep -Erin "\\\(int|integer|bool|boolean|float|string)[^a-z0-9]|class (int|integer|bool|boolean|float|string)[^a-z0-9]" . | wc -l 27 Making a few changes here should not be a problem. Regards Thomas