Re: missing documentation for use-clause in closures?
| From: | Ferenc Kovacs | Date: | Fri, 03 Aug 2012 16:04:58 +0000 |
| Subject: | Re: missing documentation for use-clause in closures? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62013@lists.php.net to get a copy of this message | ||
On Fri, Aug 3, 2012 at 5:53 PM, Ferenc Kovacs <tyra3l@gmail.com> wrote:
>
>
> On Fri, Aug 3, 2012 at 5:09 PM, Rasmus Schultz <rasmus@mindplay.dk> wrote:
>
>> Is this all the documentation there is for the use-clause for
>> anonymous closures?
>>
>> http://us2.php.net/manual/en/functions.anonymous.php
>>
>> For one, it would be nice to have documentation that explains whether
>> the variables listed in the use-clause are copied/referenced at
>> declaration-time or at call-time?
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
> would be nice having more docs on that.
> there are the two rfc's: ¿HÑ0jáQ²¢W¾ëS
> @https://wiki.php.net/rfc/closures and
> https://wiki.php.net/rfc/closures/object-extension but make
> sure to test
> because AFAIR the rfc is a little bit behind the current implementation.
>
>
>
See also the discussion at
http://www.mail-archive.com/internals@lists.php.net/msg53817.html
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu