Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82301 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98360 invoked from network); 9 Feb 2015 18:13:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2015 18:13:10 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.176 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.223.176 mail-ie0-f176.google.com Received: from [209.85.223.176] ([209.85.223.176:43084] helo=mail-ie0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/61-25034-4B8F8D45 for ; Mon, 09 Feb 2015 13:13:08 -0500 Received: by iecrp18 with SMTP id rp18so14122636iec.10 for ; Mon, 09 Feb 2015 10:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wGfQ/NWfyLgBB8u+vqskjzVQBUkjBnL54kep/MnwpQI=; b=F+WiDbXge3TvzFX7KhEw8nUlLlwkaCiDWYVp439XmfuIuOlV0VLDnGg3Ce6eqIcNw9 tBkXi1vLgt0R5jk9t+pb3m3Xlpev3t68QJUffdLnja+iDPBYBw9iTpbUgeKRxatMryST LMkvJQUY5VkO0dj8jDBLutWswaz4ndZKEsOkOLBD8ielAQzOD+Q0Pq35Pf0GX94/S/t1 DFiN6ByppH6TURzrDwVdvw6QY2dUA04dtZPNlf2X+lmY1Tv/jbXqOhfjAjK2kTLkCMhI SzI5J878SPLZSAiMXJqbL9w1jyNJ9A7JrpcGl2pukuNh3FCT5AuznLnmO7wf5Q6z580g DHKA== X-Received: by 10.50.36.103 with SMTP id p7mr18748292igj.20.1423505584721; Mon, 09 Feb 2015 10:13:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.238.75 with HTTP; Mon, 9 Feb 2015 10:12:44 -0800 (PST) In-Reply-To: References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54D5659D.5000602@php.net> <54D7A6DB.3050209@seld.be> <74136F1E-817F-4A33-8228-B47045DD65C3@ajf.me> <54D7EB44.9010005@gmail.com> <54D7F972.4010107@seld.be> <2013B2A4-74E6-4452-8A48-E749DCBEA2EF@zend.com> <6C020C7F-85C0-4C88-8766-48CEDA6290F8@ajf.me> <3399a072b6cb66434e72c5f5b37d5df0@mail.gmail.com> <54D8ECCF.4000202@seld.be> Date: Mon, 9 Feb 2015 13:12:44 -0500 Message-ID: To: Andrey Andreev Cc: Jordi Boggiano , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e01184d5cb69622050eabb889 Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --089e01184d5cb69622050eabb889 Content-Type: text/plain; charset=UTF-8 Hi, I read again and again the RFC and I just decided to switch my vote. Originally a "YES" voter, I'm now a "NO" voter. I still want strict types to exist in PHP, and not only at the end-user level, but also at the internals level (I can see so many optimizations around...). However, I think it's not an INI setting or a per file operation. I consider it should be (at the current PHP's pace) a heavily flexible support. I tend to agree that if you put "string" in its definition, you don't want a weak type, but strict type, the same way when you put MyClass instead of nothing. That's why I don't agree with the declare or "use strict" or wrote: > Hi, > > On Mon, Feb 9, 2015 at 7:22 PM, Jordi Boggiano wrote: > > > > And that is exactly why this RFC is great, since it lets the > > strict-proponents have their strict types in their files, but those > > preferring weak ones can remain in the default weak mode, never see an > ugly > > declare(), and still call strict code in weak mode. > > > > That is why I don't quite understand the "no" votes coming from > weak-hints > > proponents. Unless of course you would prefer to pass weak-only v0.1 and > > then shoot down any attempt at strict hints. That strikes me as quite > > selfish though, given the strict-proponents isn't such a tiny group of > > people. > > > > And then there are the people sitting somewhere in between the black and > > white camps. Those that would like to use strict sometimes for some > critical > > code paths, and for them the proposed solution is quite good as well. > > > > I am in the "between black and white" camp and this RFC doesn't give > me what I want, nor did the 0.1 version of it. > I would vote 'no' on both if I had voting privileges. > > Please, all, stop speculating and just let the votes count. > > Cheers, > Andrey. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada --089e01184d5cb69622050eabb889--