On 22/08/2016 15:32, Alexander Lisachenko wrote:
If the first argument for invoke() and invokeArgs() for static methods will be a string with compatible class name for the scope, then it can be used as a scope modifier (like second argument for Closure::bind($instance, $scopeClassName))
The problem with this is that you will only be able to use this with a version check - in prior versions, the argument will be silently accepted but ignored. That would make it extremely easy for any code relying on this to be subtly broken on older builds.
Regards, -- Rowan Collins [IMSoP] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php