Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83362 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41804 invoked from network); 20 Feb 2015 23:36:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2015 23:36:23 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.45 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.215.45 mail-la0-f45.google.com Received: from [209.85.215.45] ([209.85.215.45:41879] helo=mail-la0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/C4-14173-7F4C7E45 for ; Fri, 20 Feb 2015 18:36:23 -0500 Received: by labpv20 with SMTP id pv20so9176252lab.8 for ; Fri, 20 Feb 2015 15:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GRCpIc1NIp6WJkBCDSi9cjk1M89Am+r88QR4EXMhciQ=; b=mQUNrFMRw51FCtmb26ZVBaECGvD4tWLfuTuvlJ65XKQASKtPzdpJ9RlUCAq9yDl6EN /3IsxFCo78xfYcHiscdW1JU5h76YPfUj4FuoANhP6h2q/GDCAMnRTznXO7UwA3RWFCfX ek8DeHd3LP8DsoBd1SJqVzruex798xiTzCn1jvV6MU+nNo1Mla2SVvGsb7tE5I2WSU8l xcRJfYtSrMIFdmZp3n6ipAxkokHI11+NyNltxxvAgQye9+cP00PHXojEI0u0UuVHpFOy rVtxQlSqTqQiX2LrOH8LlX4VbaiJRBDnbz1S62kS8lzing7GAkz7WSN90ejDUkjvUFtd kSxQ== MIME-Version: 1.0 X-Received: by 10.112.136.201 with SMTP id qc9mr101837lbb.57.1424475380317; Fri, 20 Feb 2015 15:36:20 -0800 (PST) Received: by 10.25.43.9 with HTTP; Fri, 20 Feb 2015 15:36:20 -0800 (PST) In-Reply-To: <54E7C3D7.5070409@garfieldtech.com> 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> <54E7C3D7.5070409@garfieldtech.com> Date: Fri, 20 Feb 2015 18:36:20 -0500 Message-ID: To: Larry Garfield Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Reviving scalar type hints From: ircmaxell@gmail.com (Anthony Ferrara) Larry, On Fri, Feb 20, 2015 at 6:31 PM, Larry Garfield wrote: > 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. Timing just won't work while being fair with alternative proposals. I've said since I re-opened the proposal that I'm comfortable with it not targeting 7.0... Unless we're willing to push feature freeze by 2-3 weeks for it, it just doesn't make sense to target 7 with people working on an alternate proposal (since by definition they couldn't target 7). Anthony