_call() and __callstatic() improvement
| From: | Dmitry Stogov | Date: | Thu, 09 Apr 2015 23:20:18 +0000 |
| Subject: | _call() and __callstatic() improvement | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-85761@lists.php.net to get a copy of this message | ||
Hi,
Please review the patch.
It improves implementation of magic __call() and __callstatic() methods
using bytecode function with trampoline instead of internal C function.
https://github.com/php/php-src/pull/1234
The patch is more or less obvious.
I'm going to commit it tomorrow evening.
Xinchen, you may also try to add support for Closure::invoke() (as a
separate patch).
Thanks. Dmitry.