Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82139 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75698 invoked from network); 8 Feb 2015 13:04:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2015 13:04:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.208 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.208 imap2-3.ox.privateemail.com Received: from [192.64.116.208] ([192.64.116.208:38645] helo=imap2-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0B/A0-04095-0EE57D45 for ; Sun, 08 Feb 2015 08:04:35 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id BD7628C0069; Sun, 8 Feb 2015 08:04:28 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZcmFn3O_-zsk; Sun, 8 Feb 2015 08:04:28 -0500 (EST) Received: from [10.128.195.194] (dab-ntm1-h-50-10.dab.02.net [82.132.231.215]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 11BC08C0082; Sun, 8 Feb 2015 08:04:27 -0500 (EST) References: <162384795.216427.1423397046700.JavaMail.open-xchange@oxbaltgw01.schlund.de> Mime-Version: 1.0 (1.0) In-Reply-To: <162384795.216427.1423397046700.JavaMail.open-xchange@oxbaltgw01.schlund.de> Content-Type: multipart/alternative; boundary=Apple-Mail-CBE206BC-FD80-48BD-8371-CD6A721AD923 Content-Transfer-Encoding: 7bit Message-ID: <6C71C0BA-2B52-48D3-9AC9-41EEDD824EC5@ajf.me> Cc: Internals X-Mailer: iPhone Mail (12B466) Date: Sun, 8 Feb 2015 13:04:22 +0000 To: Timm Friebe Subject: Re: [PHP-DEV] Reserving primitive types From: ajf@ajf.me (Andrea Faulds) --Apple-Mail-CBE206BC-FD80-48BD-8371-CD6A721AD923 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi Timm, > On 8 Feb 2015, at 12:04, Timm Friebe wrote: >=20 > Hello everyone, >=20 > I've been following the "Static type hints" discussion for a while now.=20= Presumably you mean "scalar" not "static". > Aside > from its content, which there are some strong sentiments about, there's al= so > another recurring pattern - the wish for voting options instead of just > "yes/no". >=20 > Along these lines I've created an RFC on one aspect of primitive type hint= ing > (whether parameters or return type), namely reserving the primitive type n= ames: >=20 > https://wiki.php.net/rfc/reserve_primitives >=20 > I personally see the benefits this could have but also the BC break this w= ould > introduce. Let me know whether it's worthwhile putting this up for discuss= ion. > I'm happy to add, elaborate or remove options as a result of feedback befo= re > doing so. I don't see the point of this: the Scalar Type Hints RFC already has a votin= g option on reserving the type names, and it is set to pass, so by the time y= our RFC could go to a vote, it would have been rendered redundant. Thanks. -- Andrea Faulds http://ajf.me/= --Apple-Mail-CBE206BC-FD80-48BD-8371-CD6A721AD923--