Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82598 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85517 invoked from network); 13 Feb 2015 11:10:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 11:10:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.52 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.52 mail-qa0-f52.google.com Received: from [209.85.216.52] ([209.85.216.52:45190] helo=mail-qa0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/64-62214-7ABDDD45 for ; Fri, 13 Feb 2015 06:10:31 -0500 Received: by mail-qa0-f52.google.com with SMTP id v10so11880247qac.11 for ; Fri, 13 Feb 2015 03:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=d6+6mOXgDjbvCjZz5A4MQg9UvrGWLBGzvygXcSTbbHU=; b=j8fuYFHFrNRWWCXkk/r7DjACvBHllCCDIfzoPYiuclf1dovcg1TSgMf4Efk5PJrwxO 64J9WFiQmbOkx9jzB76qRWND9XrIu3b7+HzegfbFwMnKJFZyxhd5dUPue00T+uqTNe2r fWA3+ssTByBCm2r2aFQ/NHwrFmVjxx5SsHQGd5jaNQ3bW7t4HHp/mwUp3Waq+uo1fH5M 9GbMy6dxY8V0B7+NXRUvQltuNscRicXv8kYyBIdYdYGf2sgrivF746WrYyWw/SsgA7dH VnAkpiSYNVwck5zZaCXuemraYX6tN/eyqxC3jEjv5KempJdgjrF7uyxBeIsX+fENd92n FmPA== X-Received: by 10.140.42.83 with SMTP id b77mr22370878qga.43.1423825829628; Fri, 13 Feb 2015 03:10:29 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Fri, 13 Feb 2015 03:09:49 -0800 (PST) In-Reply-To: References: Date: Fri, 13 Feb 2015 20:09:49 +0900 X-Google-Sender-Auth: rvzookBVhCqBDFB6Of8EXmAyf1A Message-ID: To: Patrick ALLAERT Cc: Andrea Faulds , PHP Internals Content-Type: multipart/alternative; boundary=001a11c13054cc125e050ef648a5 Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c13054cc125e050ef648a5 Content-Type: text/plain; charset=UTF-8 Hi all, On Fri, Feb 13, 2015 at 6:37 PM, Patrick ALLAERT wrote: > Voted "no" because of the reasons already mentioned by a bunch of others > here. > > Weak type hint as presented earlier: +1 (and very good job Andrea about > that!). > declare(strict_types=1): -1, not only about the syntax, but also about the > mixed mode it introduces. > > I'm pretty confident that this RFC will "pass" with just above 2/3 of > majority while it could reach much more. > > I am pretty sure that if this RFC doesn't include a strict type mode _the > way it is proposed_ (or even, not at all, as part of another related RFC), > it would have some "no" converted to "yes" and would have a wider adoption, > which is for sure a better option than relying on a voting mechanism which > still is a supporting tool, we're not politicians after all :) > > Andi's suggestion about an E_STRICT_TYPES sounds very reasonable and much > more in line with how PHP deals with "errors". However, I think this should > be discussed separately as this is really about the A + B think that Zeev > was talking about. > For the same reason, I voted "no". Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c13054cc125e050ef648a5--