Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77225 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81699 invoked from network); 15 Sep 2014 16:45:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Sep 2014 16:45:23 -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.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:49086] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/E1-64534-2A717145 for ; Mon, 15 Sep 2014 12:45:22 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 3F66E2400DA for ; Mon, 15 Sep 2014 12:45:19 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rWI4YpQc0ZVf for ; Mon, 15 Sep 2014 12:45:19 -0400 (EDT) Received: from oa-res-27-90.wireless.abdn.ac.uk (oa-res-27-90.wireless.abdn.ac.uk [137.50.27.90]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id A0EE42400DF for ; Mon, 15 Sep 2014 12:45:18 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: <541716F6.5040308@php.net> Date: Mon, 15 Sep 2014 17:45:15 +0100 Content-Transfer-Encoding: quoted-printable Message-ID: <0D705C61-FA31-4601-A703-A52340CD09C9@ajf.me> References: <6893A97A-EC4C-4124-B804-96E2A26B953F@ajf.me> <541716F6.5040308@php.net> To: internals@lists.php.net X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast From: ajf@ajf.me (Andrea Faulds) On 15 Sep 2014, at 17:42, Sebastian Bergmann wrote: > Am 14.09.2014 um 01:30 schrieb Andrea Faulds: >> https://wiki.php.net/rfc/scalar_type_hinting_with_cast >=20 > If I understand the "Syntax" section correctly, then int, float, = numeric, > bool, and string are added as new reserved words (keywords). This = would > break existing code, for instance userland classes named "String". >=20 > However, looking at the patch in http://bit.ly/1uADQnD I do not see > an addition of new tokens. So maybe there is no problem at all. Why are you looking at the initial commit from two years ago? Many, many = changes have been made since then. Did you not look at the branch? Anyhow, this RFC is withdrawn, so there=92s little point commenting on = it further. -- Andrea Faulds http://ajf.me/