Re: [RFC][Vote] Return Types

From: 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 [email protected] to get a copy of this message
Hi Levi,

On Wed, Jan 14, 2015 at 6:18 PM, Levi Morrison <[email protected]> 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
[email protected]


Thread (19 messages)

« previous php.internals (#80619) next »