Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83361 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40125 invoked from network); 20 Feb 2015 23:31:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2015 23:31:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 66.111.4.28 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.28 out4-smtp.messagingengine.com Received: from [66.111.4.28] ([66.111.4.28:50146] helo=out4-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/64-14173-AD3C7E45 for ; Fri, 20 Feb 2015 18:31:38 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D8B69206B0 for ; Fri, 20 Feb 2015 18:31:35 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 20 Feb 2015 18:31:36 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=6Tp7KqIelKMy8YGMsn4yRr ULBWg=; b=FCFZAVIQPF9AjfBhlgEso7nA+LNLyhX7hhfDdXpH7Ml5JgVbHqca/9 6KOGQL+28Y7cRz6GG5ddH96fGi87jbXtKGSrqIiCVN+YhEfgO0WAWYFNK1qIRcPX HX9vhv2LvkrQf70t+TbexpO7iipHBrYL5rM2U8INGTNO9kh7MgzdQ= X-Sasl-enc: XVDunPg96H9Jg7mdEUhAw8cP1Px5oF0QFQ2NnMhkzPym 1424475096 Received: from [192.168.0.25] (unknown [190.158.192.40]) by mail.messagingengine.com (Postfix) with ESMTPA id 0FF25C002A2 for ; Fri, 20 Feb 2015 18:31:35 -0500 (EST) Message-ID: <54E7C3D7.5070409@garfieldtech.com> Date: Fri, 20 Feb 2015 18:31:35 -0500 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: <011801d04a07$83ab1c00$8b015400$@php.net> <7a5d96b34b98ec1f3ee17be7fa6a1e81@mail.gmail.com> <2CBDEB67-3DE3-437D-9AF3-0E6A92027244@zend.com> <4cc0c81c7199a452534bb8edcdb19914@mail.gmail.com> <54E589F6.9030002@garfieldtech.com> <54E66569.8000709@garfieldtech.com> <012001d04d46$271dac90$755905b0$@tutteli.ch> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Reviving scalar type hints From: larry@garfieldtech.com (Larry Garfield) On 02/20/2015 06:28 PM, Anthony Ferrara wrote: > Considering I'm not targetting 7 (I've updated the RFC to hint this), > we can choose what to do later depending on the exceptions result > (whether to bypass execution in strict mode only, or for all calls). > Thanks for the insight Anthony That makes me very sad, as whether the strict option is there or not I'd *really* love to see scalar hints in PHP 7 to complement return type hinting. --Larry Garfield