Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82494 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77506 invoked from network); 11 Feb 2015 21:31:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2015 21:31:01 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.213.169 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.213.169 mail-ig0-f169.google.com Received: from [209.85.213.169] ([209.85.213.169:61835] helo=mail-ig0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/81-02515-41ACBD45 for ; Wed, 11 Feb 2015 16:31:00 -0500 Received: by mail-ig0-f169.google.com with SMTP id hl2so713117igb.0 for ; Wed, 11 Feb 2015 13:30:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type; bh=MWgM4mB4ld2EtZwXd3qhVLxLuVPbygjoOCBpqamzEXk=; b=Ati8pBgOmHIaIf1Es67f8hOzcgv0Wznd0HzJgUsvzO+nCsQToPwMPyD/Shj0NXnBu+ 2MxgCQQGBkoCYjTBUrLgnrGcDCdN1qGmPNFAmXpA2HOAUjsuX6ALJRmok0Ma3AkHyFf8 dsOO6pCFV5h0OHuooWNnjV3r+nxBTLY09Gd/Jc+oVFiB/5UTAgU2JEQuVVAHUP5VBTmq 4AS3B/3Wf5u/4ByPx3NeH/T82Zf1d4WW5xLdZfEmxP5wMMrz0UtA4kXwWOv2iRPlDxTj X4Fsd1xNQAVEaYnz07i0IrIUP4Vw+eN//c/2es//mcSB7GOgc+2F2DtxAfV4KvhTay3i idXQ== X-Gm-Message-State: ALoCoQn5p3Ys1y4QzP080HAlYzjctl8wBtJ6nYb5aDbCwzxfB1O9TzUU7JmLGmsCPo+lNhOmtiTkUH8JpDQToFbEHKLI0IqRXuLncEWbNL+FZs+4H2ydbwKwH4uDN9edosljmCLB1bo/1OS7batxPXz8naIUEYB0XA== X-Received: by 10.50.108.83 with SMTP id hi19mr43117igb.8.1423690257538; Wed, 11 Feb 2015 13:30:57 -0800 (PST) References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54DAF884.7000508@lerdorf.com> In-Reply-To: <54DAF884.7000508@lerdorf.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJMIZG9mXkdirFXmuP9r5ZK3xIuzQJbJJA/AzCIQggCYWllLQKBurkXm6DKNdA= Date: Wed, 11 Feb 2015 23:30:57 +0200 Message-ID: <203e611c8e0b03568a868b8d931aec37@mail.gmail.com> To: Rasmus Lerdorf , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: RE: [PHP-DEV] [VOTE] Scalar Type Hints From: zeev@zend.com (Zeev Suraski) > -----Original Message----- > From: Rasmus Lerdorf [mailto:rasmus@lerdorf.com] > Sent: Wednesday, February 11, 2015 8:37 AM > To: Xinchen Hui; Andrea Faulds > Cc: PHP Internals > Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints > > On 02/10/2015 07:57 PM, Xinchen Hui wrote: > >> am I wrong?! > > seems I am wrong with this, it's a false alarm... it can restore > automatically. > > Yeah, declare() doesn't span files so that isn't a problem. > > My worry is still the lack of type coercion for internal calls. There's also some pretty interesting analysis on this proposal - based on some real world experimentation - from Benjamin Eberlei - bit.ly/1vl0UED If you've voted on this RFC or intend to vote - please spend the few minutes to read through his blog post. It does a good job at actually illustrating what life would look like if this rubber ends up meeting the road. Zeev