Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82137 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68926 invoked from network); 8 Feb 2015 12:04:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2015 12:04:12 -0000 Authentication-Results: pb1.pair.com header.from=php@thekid.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@thekid.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thekid.de from 212.227.126.131 cause and error) X-PHP-List-Original-Sender: php@thekid.de X-Host-Fingerprint: 212.227.126.131 mout.kundenserver.de Received: from [212.227.126.131] ([212.227.126.131:52475] helo=mout.kundenserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/07-24707-9B057D45 for ; Sun, 08 Feb 2015 07:04:11 -0500 Received: from oxbaltgw01.schlund.de ([172.19.246.7]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0LpkNL-1Xf25x33qB-00fgWO for ; Sun, 08 Feb 2015 13:04:06 +0100 Date: Sun, 8 Feb 2015 13:04:06 +0100 (CET) Reply-To: Timm Friebe To: Internals Message-ID: <162384795.216427.1423397046700.JavaMail.open-xchange@oxbaltgw01.schlund.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.6.0-Rev36 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K0:AUbdpRkgkMzfpLwuXsb9I6loCCb7iECR7EhuvZ/XNqJxCcHOite wOsSJqzUTmDWlpIcHzTYaOG/qqMoW/CqsUoVRT1nWM8FyTHznu8zu06sy+256lmE4KEne0d KFnfNGKUtqBrsK6bRKle3OTKY2o6iP0C+8Hwm+IoT8zAXMxhbSuC5mxmMaz/lusALzYZoSl 5MUYpee3M/VC2yo53XwJA== X-UI-Out-Filterresults: notjunk:1; Subject: Reserving primitive types From: php@thekid.de (Timm Friebe) Hello everyone, I've been following the "Static type hints" discussion for a while now. Aside from its content, which there are some strong sentiments about, there's also another recurring pattern - the wish for voting options instead of just "yes/no". Along these lines I've created an RFC on one aspect of primitive type hinting (whether parameters or return type), namely reserving the primitive type names: https://wiki.php.net/rfc/reserve_primitives I personally see the benefits this could have but also the BC break this would introduce. Let me know whether it's worthwhile putting this up for discussion. I'm happy to add, elaborate or remove options as a result of feedback before doing so. Timm