Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83088 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74523 invoked from network); 18 Feb 2015 15:55:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2015 15:55:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:26378] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/A3-56339-306B4E45 for ; Wed, 18 Feb 2015 10:55:48 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id B86124B024F; Wed, 18 Feb 2015 16:55:25 +0100 (CET) Reply-To: To: "'Rowan Collins'" , References: <54E49135.60907@gmail.com> In-Reply-To: <54E49135.60907@gmail.com> Date: Wed, 18 Feb 2015 16:55:42 +0100 Message-ID: <033001d04b93$59be16d0$0d3a4470$@php.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: AQKz6wpj8b81mnwJq1LfxWbU4ZJyQgFU2plEAbwiHZebFsaHwA== Content-Language: fr X-Antivirus: avast! (VPS 150218-0, 18/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] Scalar Type Hints v0.4 From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Rowan Collins [mailto:rowan.collins@gmail.com] > That's precisely the case for every existing user-defined function. > Switching to PHP 7 won't suddenly add type hints to every function in > every library and every existing bespoke code base, so there is no way > to avoid that thought process. >=20 > > I think the rules need to apply to everything or nothing. >=20 > The rules will apply to everything in the same way - if a function is > typehinted, it behaves like so; if it's not, it behaves the same way = it > did in PHP 5. I understand your pov but, in mine, there's no reason to artificially = consider internal functions as untyped by adding another = mostly-redundant mechanism for internal type hinting. If nothing = existed, this would be fine, but if we split ZPP and type hinting info, = we're creating a redundancy we'll pull behind us forever. Regards Fran=C3=A7ois