Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82162 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31553 invoked from network); 8 Feb 2015 19:44:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2015 19:44:50 -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:42779] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/B0-26926-1BCB7D45 for ; Sun, 08 Feb 2015 14:44:50 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 11F21B00098 for ; Sun, 8 Feb 2015 14:44:47 -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 w9w4yeKIOjWU for ; Sun, 8 Feb 2015 14:44:46 -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 AC56DB00094 for ; Sun, 8 Feb 2015 14:44:46 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> Date: Sun, 8 Feb 2015 19:44:44 +0000 Content-Transfer-Encoding: quoted-printable Message-ID: References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> To: PHP Internals X-Mailer: Apple Mail (2.2070.6) Subject: Syntactical change to Scalar Type Hints RFC From: ajf@ajf.me (Andrea Faulds) Hi,=20 I=E2=80=99m posting this in a new thread since people might (reasonably) = be ignoring further responses to the [VOTE] thread. I=E2=80=99m considering a small change to the Scalar Type Hints RFC, = specifically about syntax. Quite a few people have said they don=E2=80=99t= like the declare() syntax, and it=E2=80=99s easy to see why. It=E2=80=99s= rather verbose, it has all the quirks of declare() (such as block = syntax, not respecting scope), and it=E2=80=99s rather ugly. Instead, I=E2=80=99m wondering if the following might be better: