Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81743 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74573 invoked from network); 3 Feb 2015 22:29:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2015 22:29:25 -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.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:58340] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 53/DA-20608-3CB41D45 for ; Tue, 03 Feb 2015 17:29:25 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id DF6A3B00068; Tue, 3 Feb 2015 17:29:20 -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 IIQ9jsNPK1ys; Tue, 3 Feb 2015 17:29:20 -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 367EDB0007B; Tue, 3 Feb 2015 17:29:18 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: <20150203200757.6b29a758@main> Date: Tue, 3 Feb 2015 22:29:16 +0000 Cc: Christoph Becker , Thomas Bley , dmitry@zend.com, nikita.ppv@gmail.com, internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <33EB6F87-1E48-4679-8DB0-F5C9877835EC@ajf.me> References: <20150202210349.6FB91261948@dd15934.kasserver.com> <54CFE965.2080905@gmx.de> <20150202214254.BEB88261948@dd15934.kasserver.com> <54CFFC5D.4000802@gmx.de> <20150203200757.6b29a758@main> To: Sven Drieling 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 Sven, > On 3 Feb 2015, at 19:07, Sven Drieling wrote: >=20 > What about scalar type declaration in userland? It=E2=80=99s one of many suggestions. I really, really don=E2=80=99t = think it=E2=80=99s a good idea. Rather than having two models (as the RFC suggests), we=E2=80=99d have n = models, where n is the number of existent PHP frameworks and libraries. = Every single application would have its own approach. It=E2=80=99d be = chaotic, and not terribly user-friendly. -- Andrea Faulds http://ajf.me/