mirror of
https://github.com/php/php-src.git
synced 2026-04-20 14:31:06 +02:00
Closures will now use the called_scope from their instantiation site. If they are rebound either the class of $this is used or if no $this is provided the bound scope is used. With this change the scope for static closures can be changed back to use EG(scope) rather than EX(called_scope), thus fixing bug #69568.
350 B
350 B