Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80663 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78145 invoked from network); 16 Jan 2015 21:37:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2015 21:37:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.46 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.46 mail-qg0-f46.google.com Received: from [209.85.192.46] ([209.85.192.46:45408] helo=mail-qg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/E6-43627-28489B45 for ; Fri, 16 Jan 2015 16:37:06 -0500 Received: by mail-qg0-f46.google.com with SMTP id f51so9540237qge.5 for ; Fri, 16 Jan 2015 13:37:04 -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:from:date:message-id :subject:to:cc:content-type; bh=nGEa7Ym76y9MrilgHwNqggej+Ihz8OkCvd2u+IEvqVg=; b=bx/gsTMHwGaMe4v0xSEOcMd0utdlQPcEEllaDpTllNiIx1uMnE9rrpdCTnklLPQ4fb BWRK0+OobxFa7uT99zsC6gyRfmzjqmPHiX2ER2hgVlw3+q05B8SB/IYop1X6IlTcilIA CQpGDELAVLNg0OGIeGKGSC7b5AchjQMwP9JrdanLq3KcCDYacrS2C1SesQuHxzfHmgJE QKmD2qhWhyP14HOpzzC3hPVknIgBeuT9doWessTF4T1uyK5J7QtrysN6Kv2hPugDutFO 2ME9uIoJolE/dUNjjyXVeWtbBLCZZuGRjAwGJ1AoOiwdbJkYesCECRPcrTWT85qQHiQM 9hwQ== X-Received: by 10.229.70.133 with SMTP id d5mr29214187qcj.2.1421444223917; Fri, 16 Jan 2015 13:37:03 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.93.70 with HTTP; Fri, 16 Jan 2015 13:36:23 -0800 (PST) In-Reply-To: <1CD8C39C-8830-4F95-812D-34DA83A7782F@welsh.co.nz> References: <1CD8C39C-8830-4F95-812D-34DA83A7782F@welsh.co.nz> Date: Sat, 17 Jan 2015 06:36:23 +0900 X-Google-Sender-Auth: 0PvbWcwO1S1ZIwWO-oqqhFofBUs Message-ID: To: Simon J Welsh Cc: Levi Morrison , internals Content-Type: multipart/alternative; boundary=001a113390060900d8050ccbc63c Subject: Re: [PHP-DEV] [RFC][Vote] Return Types From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113390060900d8050ccbc63c Content-Type: text/plain; charset=UTF-8 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". Anyway, I looked HACK/HHVM manual http://docs.hhvm.com/manual/en/index.php and couldn't find the syntax. If it's the same, then it should be OK. I'm just making sure before voting. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113390060900d8050ccbc63c--