Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82538 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90572 invoked from network); 12 Feb 2015 14:37:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2015 14:37:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@tekwire.net; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=francois@tekwire.net; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain tekwire.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@tekwire.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:36777] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/77-50473-1BABCD45 for ; Thu, 12 Feb 2015 09:37:38 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id E3DCD4B021B; Thu, 12 Feb 2015 15:37:30 +0100 (CET) Reply-To: To: "'Andrea Faulds'" , Cc: "'Zeev Suraski'" , "'Rasmus Lerdorf'" , "'PHP Internals'" References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54DAF884.7000508@lerdorf.com> <203e611c8e0b03568a868b8d931aec37@mail.gmail.com> <61E01A7C-C5C8-447F-A8FA-E12A18E847CA@ajf.me> In-Reply-To: <61E01A7C-C5C8-447F-A8FA-E12A18E847CA@ajf.me> Date: Thu, 12 Feb 2015 15:37:29 +0100 Message-ID: <006101d046d1$6e99b260$4bcd1720$@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJMIZG9mXkdirFXmuP9r5ZK3xIuzQJbJJA/AzCIQggCYWllLQKBurkXAYsw6s4B6qYCMgHjX/2GAb5UKOCbaSrFYA== Content-Language: fr X-Antivirus: avast! (VPS 150212-0, 12/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] [VOTE] Scalar Type Hints From: francois@tekwire.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) Hi, > > > 2- Lack of numeric scalar type > > There're others, but these ones are keys to make them fully usable. >=20 > A number (or numeric, or num, or some other name) type hint is = something I > plan to propose in a future, follow-up RFC. For a set of 'extended' types like 'number', and their matching rules = against zvals, this may help : https://wiki.php.net/rfc/dbc#dbc_types_vs_zval_types Cheers Fran=C3=A7ois