Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82256 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4401 invoked from network); 9 Feb 2015 10:30:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2015 10:30:07 -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.199 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.199 imap11-2.ox.privateemail.com Received: from [192.64.116.199] ([192.64.116.199:51532] helo=imap11-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/9A-50460-C2C88D45 for ; Mon, 09 Feb 2015 05:30:06 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 1919D8800E7; Mon, 9 Feb 2015 05:30:01 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OjMvl29ANaMa; Mon, 9 Feb 2015 05:30:00 -0500 (EST) Received: from [137.50.28.190] (oa-res-28-190.wireless.abdn.ac.uk [137.50.28.190]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 7A03E8800EB; Mon, 9 Feb 2015 05:30:00 -0500 (EST) References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54D5659D.5000602@php.net> <54D7A6DB.3050209@seld.be> <0a344270616df2c33c8a1f5db2df08a0@mail.gmail.com> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <3683EC46-6DBC-4C09-AF98-E4CF9704DBD7@ajf.me> Cc: Matthew Leverton , Zeev Suraski , PHP internals X-Mailer: iPhone Mail (12B466) Date: Mon, 9 Feb 2015 10:29:56 +0000 To: Dmitry Stogov Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: ajf@ajf.me (Andrea Faulds) Hi, > On 9 Feb 2015, at 08:04, Dmitry Stogov wrote: >=20 > this is more or less true. :( > The proposal is presented in an unfair way to include strict typing withou= t > the ability to vote for weak types only. Oddly, nobody seems to complain that it's unfair if I side with the weak typ= ing camp, despite that being equally unfair. > Despite of semantic arguments, the implementation is a bit immature and > introduces slowdown for any code without type hints. The implementation could do with improvement, this is true. However I suspec= t any slowdown is minor at best, and this could be dealt with in future. The= RFC is more about the language change than the implementation. -- Andrea Faulds http://ajf.me/