Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80060 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54970 invoked from network); 1 Jan 2015 16:56:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jan 2015 16:56:50 -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.207 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.207 imap2-2.ox.privateemail.com Received: from [192.64.116.207] ([192.64.116.207:54931] helo=imap2-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 53/AF-60454-05C75A45 for ; Thu, 01 Jan 2015 11:56:49 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 399108C0083; Thu, 1 Jan 2015 11:56:46 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dqr4wTWtzmsF; Thu, 1 Jan 2015 11:56:46 -0500 (EST) Received: from [192.168.0.13] (unknown [94.13.96.117]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 68F328C0082; Thu, 1 Jan 2015 11:56:44 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: <20150101165408.80E6D2605AB@dd15934.kasserver.com> Date: Thu, 1 Jan 2015 16:56:11 +0000 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <1F514D1A-C59C-48BD-B0F6-B75AE47853EF@ajf.me> References: <41D5BB0B-73AF-488E-968D-90B2878E3178@ajf.me> <20150101165408.80E6D2605AB@dd15934.kasserver.com> To: Thomas Bley X-Mailer: Apple Mail (2.1993) Subject: Re: [PHP-DEV] [RFC] Scalar Type Hints From: ajf@ajf.me (Andrea Faulds) Hi Thomas, > On 1 Jan 2015, at 16:54, Thomas Bley wrote: >=20 > thanks for the rfc! Currently we allow: >=20 > function test(Array $o){} > test([]); > function test2(array $o){} > test2([]); >=20 > So I propose to allow also uppercase type names: > ublic function __construct(String $name, Int $age, Float $cuteness, = Bool $evil) { The RFC doesn=E2=80=99t mention it, but this is allowed by the patch, = since type names are case-insensitive. Thanks. -- Andrea Faulds http://ajf.me/