Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77197 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55582 invoked from network); 14 Sep 2014 20:14:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2014 20:14:10 -0000 Authentication-Results: pb1.pair.com header.from=mails@thomasbley.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mails@thomasbley.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thomasbley.de from 85.13.137.24 cause and error) X-PHP-List-Original-Sender: mails@thomasbley.de X-Host-Fingerprint: 85.13.137.24 dd15934.kasserver.com Received: from [85.13.137.24] ([85.13.137.24:54465] helo=dd15934.kasserver.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/00-55139-F07F5145 for ; Sun, 14 Sep 2014 16:14:08 -0400 Received: from dd15934.kasserver.com (dd0802.kasserver.com [85.13.143.1]) by dd15934.kasserver.com (Postfix) with ESMTPSA id 7FE14260809; Sun, 14 Sep 2014 22:14:04 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SenderIP: 82.208.5.167 User-Agent: ALL-INKL Webmail 2.11 In-Reply-To: <6893A97A-EC4C-4124-B804-96E2A26B953F@ajf.me> References: <6893A97A-EC4C-4124-B804-96E2A26B953F@ajf.me> To: internals@lists.php.net, ajf@ajf.me Message-ID: <20140914201404.7FE14260809@dd15934.kasserver.com> Date: Sun, 14 Sep 2014 22:14:04 +0200 (CEST) Subject: Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast From: mails@thomasbley.de ("Thomas Bley") Hello Andrea, I find the rfc a bit difficult to understand: e.g. is_float('1') gives false, but foo('1') with function foo(float $a){} is ok. Regards, Thomas Andrea Faulds wrote on 14.09.2014 01:30: > Good evening, > > I’ve given up on my plan B, so I’m putting this RFC, finally, to a vote. > > I would urge you to vote in favour. It is not going to please everyone, it is > after all a compromise proposal. However, I have tried my best to strike a > balance between complete weak typing and strict typing. If this passes, we will > finally have userland type specifiers for scalar types. It’s not perfect, but > I’d argue it’s far better than nothing. > > Voting starts today, 2014-09-14, and ends in a week’s time, 2014-09-21. > > Thanks! > > https://wiki.php.net/rfc/scalar_type_hinting_with_cast#vote > -- > Andrea Faulds > http://ajf.me/ > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >