Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89401 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90950 invoked from network); 25 Nov 2015 10:11:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2015 10:11:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:52380] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/91-14932-B3985565 for ; Wed, 25 Nov 2015 05:11:08 -0500 Received: from w530phpdev (p579F3B72.dip0.t-ipconnect.de [87.159.59.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 6700078986E; Wed, 25 Nov 2015 11:11:04 +0100 (CET) To: "'Stanislav Malyshev'" , "'Andrea Faulds'" , References: <56547DFE.3080407@php.net> <565496FA.2010604@gmail.com> <84.DA.57156.C6B94565@pb1.pair.com> <56549E24.7030902@gmail.com> In-Reply-To: <56549E24.7030902@gmail.com> Date: Wed, 25 Nov 2015 11:11:00 +0100 Message-ID: <046601d12769$9801d000$c8057000$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQKNMi52zUhR4hJtiipMheRU20Tb4AIBj6dBArDsJjcBHkArxwFRSYqynPtbP7A= Content-Language: en-us Subject: RE: [PHP-DEV] Re: Scalar Type Declaration Syntax Weirdness From: anatol.php@belski.net ("Anatol Belski") Hi Stas, > -----Original Message----- > From: Stanislav Malyshev [mailto:smalyshev@gmail.com] > Sent: Tuesday, November 24, 2015 6:28 PM > To: Andrea Faulds ; internals@lists.php.net > Subject: Re: [PHP-DEV] Re: Scalar Type Declaration Syntax Weirdness >=20 > Hi! >=20 > > It can't wait for 7.0.1, because banning this would be a > > backwards-compatibility break with 7.0.0. We have to fix it in 7.0.0 > > or not fix it ever. >=20 > In theory, yes. In practice, if somebody starts using 7.0.0 and = immediately jumps > to using \int, I don't feel too bad for breaking that code. We can put = a note in > release notes for this is needed. But the risk of changing syntax = parts on the > brink of GA IMHO is much larger than the risk of somebody using \int = in 7.0.0 > and getting breakage in 7.0.1. Especially if it's clearly described as = a bug we > intend to fix. >=20 that's my point as well. There is a clear documentation about type = hints, usage of an undocumented way is out of scope of BC. Using \int = means there were a "class int{}" which is prohibited. Of course it is a = bug after all, which will be addressed. =09 Regards Anatol