Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80749 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11705 invoked from network); 18 Jan 2015 16:55:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2015 16:55:59 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.43 mail-qg0-f43.google.com Received: from [209.85.192.43] ([209.85.192.43:52036] helo=mail-qg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/AF-18613-E95EBB45 for ; Sun, 18 Jan 2015 11:55:58 -0500 Received: by mail-qg0-f43.google.com with SMTP id e89so2986867qgf.2 for ; Sun, 18 Jan 2015 08:55:55 -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=lk4DaeGh6YUI8S+JcyHvt/dbW9LMOxPkxOtlJWQibm0=; b=AMg0ZTjehMYnU8uTJAEwf3TVG9A+H2OjXlP6gpRv5UzOKnVDxD2VL16bRXuOG/r2AF SBuOk++P/aY+07A8vnL7/4vkiyrTr4EWmXLlrfCTdDZ5bAEz64LAS8ZR27kWyXtWVQDx P/dcIS6g0iPUmm/fFnAhnXVd46rCgUwYoMkm1XcojSb4enqRjfFHioKUEuck5cq6vy0v T4F1hpRS2Dv4kgx410Ai95ZV+jBXrDq3UkY1l9kVDkNDh6n4mXFSLZTu2XQmRKqiCrww Ck8/M5aiRY5rw9Q40gH6NH3/LplIqfzVHfHvcgclKi8DHwvKwMfqj+hP05DO2aPSy5VE x3Lw== MIME-Version: 1.0 X-Received: by 10.224.89.65 with SMTP id d1mr37838240qam.4.1421600155422; Sun, 18 Jan 2015 08:55:55 -0800 (PST) Received: by 10.140.22.106 with HTTP; Sun, 18 Jan 2015 08:55:55 -0800 (PST) In-Reply-To: References: <1CD8C39C-8830-4F95-812D-34DA83A7782F@welsh.co.nz> Date: Sun, 18 Jan 2015 23:55:55 +0700 Message-ID: To: Levi Morrison Cc: Yasuo Ohgaki , Simon J Welsh , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC][Vote] Return Types From: pierre.php@gmail.com (Pierre Joye) On Sun, Jan 18, 2015 at 11:53 PM, Levi Morrison wrote: > On Sat, Jan 17, 2015 at 4:42 PM, Yasuo Ohgaki wrote: >> Hi Pierre and Levi, >> >> On Sat, Jan 17, 2015 at 3:05 PM, Pierre Joye wrote: >>> >>> On Fri, Jan 16, 2015 at 10:36 PM, Yasuo Ohgaki wrote: >>> > Hi Simon and Levi, >>> > >>> > On Fri, Jan 16, 2015 at 4:53 PM, Simon J Welsh >>> > wrote: >>> > >>> >> The tests have it after the use(): >>> >> >>> >> https://github.com/php/php-src/pull/997/files#diff-e306c6e99612ba59b00a4fe435b287e5R9 >>> >> >>> >> This was discussed in depth a couple of times in the related threads. >>> >> >>> > >>> > Thank you for the information. It should be in the RFC. IMHO. >>> > I feels natural to have type spec after function parameter definition >>> > rather than >>> > after "use". >>> >>> Please do not change the RFC during votes phase, or re start it. >>> >>> If many of the voters feel like they were voted on something different >>> of what is being discussed here, it may be a good thing to restart it. >>> However I think we all understood it as it is described in this >>> thread. Let update it after the votes or for the docs. >> >> >> Sounds good to me. >> Let's update the RFC after vote. > > According to the previous discussion the return type goes after the > use statement, and this is how it is implemented. There has not been > an unintentional mistake here. > > If you disagree with that decision I am open to discussing it again. > Since it isn't actually mentioned in the RFC (which was an oversight, > I apologize) I'm not sure we'd have to revote on it. Anyone else have > an opinion on this? Addint/editing it means a re vote. I do not think it is necessary at is pretty clear, or I think it is. At the very least, let wait after the vote ended, to see if complains will be raised. Cheers, -- Pierre @pierrejoye | http://www.libgd.org