On Fri, Aug 3, 2012 at 5:53 PM, Ferenc Kovacs <tyr...@gmail.com> wrote:

>
>
> On Fri, Aug 3, 2012 at 5:09 PM, Rasmus Schultz <ras...@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:  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

Reply via email to