Re: [RFC][Vote] Return Types
| From: | Yasuo Ohgaki | Date: | Fri, 16 Jan 2015 21:36:23 +0000 |
| Subject: | Re: [RFC][Vote] Return Types | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80663@lists.php.net to get a copy of this message | ||
Hi Simon and Levi,
On Fri, Jan 16, 2015 at 4:53 PM, Simon J Welsh <simon@welsh.co.nz> 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