Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84611 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11829 invoked from network); 12 Mar 2015 08:10:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Mar 2015 08:10:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=olemarkus@olemarkus.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=olemarkus@olemarkus.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain olemarkus.org from 178.79.164.89 cause and error) X-PHP-List-Original-Sender: olemarkus@olemarkus.org X-Host-Fingerprint: 178.79.164.89 olemarkus.org Received: from [178.79.164.89] ([178.79.164.89:56894] helo=sophia.olemarkus.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/87-64353-FE941055 for ; Thu, 12 Mar 2015 03:10:23 -0500 Received: from localhost (sophia.olemarkus.org [127.0.0.1]) by sophia.olemarkus.org (Postfix) with ESMTP id 2EE0C360EA; Thu, 12 Mar 2015 09:10:20 +0100 (CET) X-Virus-Scanned: amavisd-new at sophia.olemarkus.com Received: from sophia.olemarkus.org ([127.0.0.1]) by localhost (sophia.olemarkaus.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s80fLQa_D3gd; Thu, 12 Mar 2015 09:10:12 +0100 (CET) Received: from [10.12.141.69] (unknown [92.62.32.131]) by sophia.olemarkus.org (Postfix) with ESMTPSA id 07ABB360E9; Thu, 12 Mar 2015 09:10:11 +0100 (CET) Message-ID: <550149E1.9030904@olemarkus.org> Date: Thu, 12 Mar 2015 09:10:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Pierre Joye , Zeev Suraski CC: PHP internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE][RFC] Coercive Scalar Type Hints From: olemarkus@olemarkus.org (Ole Markus With) On 03/11/2015 09:05 PM, Pierre Joye wrote: > On Mar 12, 2015 2:10 AM, "Zeev Suraski" wrote: >> >> The vote on the Coercive Scalar Type Hints is now open for voting. >> >> >> >> The latest version of the RFC includes changes discussed on internals@ > last >> week: >> >> 1. Accept string->bool and int->bool conversions (false->bool is not >> supported) >> >> 2. Accept leading/trailing spaces in string->number conversions. >> >> >> >> wiki.php.net/rfc/coercive_sth >> >> wiki.php.net/rfc/coercive_sth#vote > > Voted no for the following reasons: > > - change default casting, which has been working since years, consistently > inconsistent > - due to the previous nature of changes, we have no way to be sure we won't > break anything badly out there > - big changes in the RFC+patch between last discussions and vote. Should > not be allowed, can't veto it so voted no > I changed my vote to no for the same reasons. Cheers, Ole Markus