Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80748 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10257 invoked from network); 18 Jan 2015 16:53:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2015 16:53:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.179 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.179 mail-ob0-f179.google.com Received: from [209.85.214.179] ([209.85.214.179:37727] helo=mail-ob0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/4F-18613-A05EBB45 for ; Sun, 18 Jan 2015 11:53:30 -0500 Received: by mail-ob0-f179.google.com with SMTP id nt9so25704507obb.10 for ; Sun, 18 Jan 2015 08:53:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=myVH48lM0cMuek/2hAZn6ASGeE2kae5lfRsfkMMU32w=; b=dkBLQTT3zVgqljxZiEbUtlRSPwGx/A11XHuf1fTOQi0z40xEciXEHGNNjvr3z59Clo GvKClrFRVblfqRDJKbSNmgxNwQ0aYrgUAsE0nsrvezMP9h79n1UFZR5Eg8Kltn3FK3Mv WRNDLtAhQXhwjgp7uP4RWmoHM6Ls146a8Q+6wMcYWqliH66mRQRggGXl8mNiLbQq3FaZ xWEHriKOlC4P6ZE44B93jIJOAK/6VT6ED6MlKAVah89rNN3qS71WJI663UUnuEwYRvou pm2KIFUDuWIKqMq4Gv41//VA37dgXudnzq0ceGnawAEYn0njZH6xqkmSpBOq7L7oC3K3 mEkg== MIME-Version: 1.0 X-Received: by 10.202.55.198 with SMTP id e189mr14781717oia.80.1421600007722; Sun, 18 Jan 2015 08:53:27 -0800 (PST) Sender: morrison.levi@gmail.com Received: by 10.76.103.101 with HTTP; Sun, 18 Jan 2015 08:53:27 -0800 (PST) In-Reply-To: References: <1CD8C39C-8830-4F95-812D-34DA83A7782F@welsh.co.nz> Date: Sun, 18 Jan 2015 09:53:27 -0700 X-Google-Sender-Auth: 4A2PHP9ettrCRmZuWln8zD-lBrw Message-ID: To: Yasuo Ohgaki Cc: Pierre Joye , Simon J Welsh , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC][Vote] Return Types From: levim@php.net (Levi Morrison) 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?