Re: [RFC][Vote] Return Types
| From: | Yasuo Ohgaki | Date: | Fri, 16 Jan 2015 07:46:49 +0000 |
| Subject: | Re: [RFC][Vote] Return Types | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80619@lists.php.net to get a copy of this message | ||
Hi Levi,
On Wed, Jan 14, 2015 at 6:18 PM, Levi Morrison <levim@php.net> wrote:
> [1]: https://wiki.php.net/rfc/return_types#vote
>
I read the RFC quickly and could not find closure syntax example.
function():array use ($var) {}
or
function() use ($var): array {}
which one will be the syntax? I suppose first one will be the syntax,
though.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net