Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85111 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65811 invoked from network); 17 Mar 2015 02:42:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Mar 2015 02:42:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.215.54 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.215.54 mail-la0-f54.google.com Received: from [209.85.215.54] ([209.85.215.54:33246] helo=mail-la0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/D0-60187-6A497055 for ; Mon, 16 Mar 2015 21:42:46 -0500 Received: by ladw1 with SMTP id w1so55969116lad.0 for ; Mon, 16 Mar 2015 19:42:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=gMcyvt2GGAXkytoQtqlmLuXsPq5VOEn0QLi2pUv4Ia8=; b=Z8vlp4ifm/qIzFyEDWoijxy4B4O8j59ooxmCnKYFKo38j2wXGO5YXsusN+VETTVfuF UdgbpG3RnIqBBjlkNQdCIWcwrAxhgayCgrmzO0ia69i4wXoZ7Vf/kNHisiOdO/7vMPsK 7hLowEjPCobeTJVsqpUoRnp9J2xDRJnVYiFb+6zLaTzg+KyzLnLtEYKU/sM5VZ7fYBGC wMQY63fs9tHAy399KiWWFbxHpqj19qiD4ugxmIfgsJCtHkZMXobBVPioQ5oqPkx8KNft wuEOIVisRYxbhxbVrePiH92uNHd+2RNpauG8O1OEG3fFxQEIDC6ydFZJJpZVteQsWLLP h/Rg== X-Gm-Message-State: ALoCoQk3Wf9ezT3rWbKi10qYDTagB+vTV9hDyLFVigNXTn63GAmSgj5tJd/gnlf+KWxV0w02wrCa4teAhtEwM5wAGI4cHbf9uEe6GR8PDGbjW/CfSrps4OsSqeAzwupTJ7NzQxcG/Am2eMNycosDsUmE/9qPmYvnyw== X-Received: by 10.152.234.108 with SMTP id ud12mr38276824lac.81.1426560163220; Mon, 16 Mar 2015 19:42:43 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPSA id yr7sm2539531lbb.33.2015.03.16.19.42.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Mar 2015 19:42:42 -0700 (PDT) Received: by ladw1 with SMTP id w1so55968579lad.0 for ; Mon, 16 Mar 2015 19:42:40 -0700 (PDT) X-Received: by 10.112.181.41 with SMTP id dt9mr59419554lbc.56.1426560160932; Mon, 16 Mar 2015 19:42:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.82.99 with HTTP; Mon, 16 Mar 2015 19:42:20 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Mar 2015 10:42:20 +0800 Message-ID: To: Yasuo Ohgaki Cc: Anthony Ferrara , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5 From: laruence@php.net (Xinchen Hui) On Tue, Mar 17, 2015 at 9:45 AM, Yasuo Ohgaki wrote: > Hi Anthony, > > On Tue, Mar 17, 2015 at 6:03 AM, Anthony Ferrara > wrote: > >> Voting has been closed on the scalar type declarations v0.5 RFC: >> >> https://wiki.php.net/rfc/scalar_type_hints_v5 >> >> At a final score of 108:48, it has been accepted for PHP 7. >> > > Congratulations. Even though I dislike "stirct_types" part, I appreciate > your efforts. Same here. anyway, I think there is no time doing any changes on this. Let's wait and see, how the community use this "strict_types".. anyway, I am glad this thread is finally done. thanks > > Since weakly typed mode is too weak to be useful for detecting possible > errors and > strict type mode is overridden by any caller(parent script), it's still > reasonable to have > CoerciveSTH RFC. I hope many of us see the benefits of the RFC also. > > BTW, I suggest to remove the word "strict" from "strict_types" at least as > it is > not strict at all if caller(parent script) does not specify > "strict_types=1". > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net -- Xinchen Hui @Laruence http://www.laruence.com/