Re: 5.4 beta
| From: | Gustavo Lopes | Date: | Fri, 07 Oct 2011 22:06:21 +0000 |
| Subject: | Re: 5.4 beta | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55742@lists.php.net to get a copy of this message | ||
On Fri, 07 Oct 2011 20:32:24 +0100, Ferenc Kovacs <tyra3l@gmail.com> wrote:
"- Closures can now have an associated scope" as it is https://wiki.php.net/rfc/closures/object-extension#privateprotected_members_scope ? at first I thought that scope means Variable scope, but I think I get it now: it means that when the Closure calls/access something through $this, it will be handled as it was called/accessed from the given class(scope).Yes, sorry, by "scope" I mean "EG(scope)", which is a class entry, and, for the purposes relevant here, determines access to protected/private members. I did not want to convey its usual general meaning. -- Gustavo Lopes