Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82783 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9036 invoked from network); 16 Feb 2015 07:30:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2015 07:30:29 -0000 Authentication-Results: pb1.pair.com header.from=mailing@pascal-martin.fr; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mailing@pascal-martin.fr; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain pascal-martin.fr designates 91.121.85.26 as permitted sender) X-PHP-List-Original-Sender: mailing@pascal-martin.fr X-Host-Fingerprint: 91.121.85.26 ns362529.ip-91-121-85.eu Received: from [91.121.85.26] ([91.121.85.26:58352] helo=pascal-martin.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/84-05176-98C91E45 for ; Mon, 16 Feb 2015 02:30:23 -0500 Received: from [192.168.10.8] (teaebook.pck.nerim.net [213.41.140.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pascal-martin.fr (Postfix) with ESMTPSA id 1EF40E061B for ; Mon, 16 Feb 2015 08:30:10 +0100 (CET) Message-ID: <54E19C84.2090104@pascal-martin.fr> Date: Mon, 16 Feb 2015 08:30:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: internals@lists.php.net References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> In-Reply-To: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: mailing@pascal-martin.fr ("Pascal MARTIN, AFUP") Le 05/02/2015 21:14, Andrea Faulds a écrit : > Voting starts today (2015-02-05) and ends in two weeks’ time (2015-02-19). In addition to the vote on the main RFC, there is also a vote on the type aliases issue, and a vote to reserve the type names for future RFCs’ sake if this RFC fails. > > The RFC can be found here, and it contains a voting widget: https://wiki.php.net/rfc/scalar_type_hints > Hi, Even if this RFC has been withdrawn, I'm posting this here, hoping it might prove useful if someone ever tries to revive it. We've discussed this RFC quite a bit with other members of AFUP, and finally ended on the +1 side. Basically, adding type-hinting for scalars goes towards a PHP that is a bit more "strict" -- which seems like a good thing for us. But, at the same time, the "weak" mode by default means users can choose to go that way at their own pace and existing code will keep working, even if calling "strict" libraries. The biggest concern we've had is the declare() syntax that feels a bit weird at first. But that's not enough of a concern for us to be -1 on the RFC as a whole. Thanks! -- Pascal MARTIN, AFUP - French UG http://php-internals.afup.org/