PHP - Manual: ReflectionFunctionAbstract::getClosureScopeClass
2024-11-12
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
ReflectionFunctionAbstract::getClosureScopeClass — Returns the scope associated to the closure
此函数没有参数。
Returns the class on success or null
on failure.
官方地址:https://www.php.net/manual/en/reflectionfunctionabstract.getclosurescopeclass.php