Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81674 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95942 invoked from network); 2 Feb 2015 23:52:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2015 23:52:52 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:51613] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/AE-25089-B8D00D45 for ; Mon, 02 Feb 2015 18:51:40 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 251F6B00085; Mon, 2 Feb 2015 18:51:37 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Xy0QZStxRUY1; Mon, 2 Feb 2015 18:51:36 -0500 (EST) Received: from oa-res-26-240.wireless.abdn.ac.uk (oa-res-26-240.wireless.abdn.ac.uk [137.50.26.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id ABB28B0007B; Mon, 2 Feb 2015 18:51:35 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: <54D00996.8010005@gmx.de> Date: Mon, 2 Feb 2015 23:51:35 +0000 Cc: Thomas Bley , Dmitry Stogov , nikita.ppv@gmail.com, internals@lists.php.net Content-Transfer-Encoding: 7bit Message-ID: References: <20150202210349.6FB91261948@dd15934.kasserver.com> <54CFE965.2080905@gmx.de> <20150202214254.BEB88261948@dd15934.kasserver.com> <54CFFC5D.4000802@gmx.de> <619EAE9D-615B-409D-AB8C-E64B2B113A6E@ajf.me> <54D00996.8010005@gmx.de> To: Christoph Becker X-Mailer: Apple Mail (2.2070.6) Subject: Re: [PHP-DEV] What do we need strict scalar type hints for? From: ajf@ajf.me (Andrea Faulds) Hi again, > On 2 Feb 2015, at 23:34, Christoph Becker wrote: > > Indeed, code is read far more often than it's written (hopefully :)), > but still it might be annoying for many PHP programmers to write these > explicit manual conversions in the first place.[2] Well, they only have to if they choose to use strict typing. ;) -- Andrea Faulds http://ajf.me/