Re: Docs for static closures
| From: | Anthony Ferrara | Date: | Sun, 23 Aug 2015 22:25:32 +0000 |
| Subject: | Re: Docs for static closures | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969385864@lists.php.net to get a copy of this message | ||
Alexander,
On Aug 23, 2015 6:00 PM, "Alexander Kurilo" <alex@kurilo.me> wrote:
>
> Hello,
>
> I'd stumbled upon a static closure in a piece of code and failed to find
anything in PHP docs that would put it as nicely as the answer on Stack
Overflow by Anthony Ferrara did: http://stackoverflow.com/a/23554571. The
only place I found that mentioned static closures is
http://php.net/manual/en/closure.bindto.php
>
> Is there a place that explains what a static closure is and how it works?
I don't believe it is documented here. Feel free to take my answer and turn
it into documentation. If you want to that is!
Thanks!
Anthony