Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88789 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86570 invoked from network); 14 Oct 2015 09:57:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2015 09:57:52 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; 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:56396] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 63/10-18606-E172E165 for ; Wed, 14 Oct 2015 05:57:50 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 0693F6D2035; Wed, 14 Oct 2015 11:57:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from w530phpdev (p579F31B2.dip0.t-ipconnect.de [87.159.49.178]) (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 E11886D2002; Wed, 14 Oct 2015 11:57:43 +0200 (CEST) To: "'Andrea Faulds'" , References: <5C.21.16518.AA80C165@pb1.pair.com> <561CDFFA.8040207@php.net> <561D0D81.2020306@gmail.com> <11.E0.41961.54B8D165@pb1.pair.com> In-Reply-To: <11.E0.41961.54B8D165@pb1.pair.com> Date: Wed, 14 Oct 2015 11:57:32 +0200 Message-ID: <000001d10666$c6008a10$52019e30$@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: AQK797VAxFKxjcRxTuBG4IvM/F443AN6I4HRAb4iQ1wBGDvCzAG8BQPfAlhES+sCqDlv0pwsb+aQ Content-Language: en-us Subject: RE: [PHP-DEV] Scalar type hints and scalar type name aliases causeconfuson From: anatol.php@belski.net ("Anatol Belski") Hi Andrea, > -----Original Message----- > From: Andrea Faulds [mailto:ajf@ajf.me] > Sent: Wednesday, October 14, 2015 12:53 AM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] Scalar type hints and scalar type name aliases > causeconfuson >=20 > Hi Dmitry, >=20 > Dmitry Stogov wrote: > > > > I also don't like reserving new class names or limiting their use. > > The message above looks clear and it shouldn't be a big problem to > > implement the fix. > > This fix shouldn't change anything except error message, so it'll = make > > minimal risk for 7.0 release process. > > >=20 > Just changing error messages would work, but it's an unclean solution. > It would be changing existing naming conventions ('integer' in = English, 'int' in > code). Still, it's better than nothing if we can't reserve the names. >=20 People already ported a lot of stuff to 7.0, or get already trained, = etc. So changing the error message looks like the only how far we can go = at current stage. It is clear enough to express the necessary error, and = it is soft enough to will possibly break some unit tests but not the = actual codes. Thanks Anatol