array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'reflectionfunction.getclosure.php', 1 => 'ReflectionFunction::getClosure', 2 => 'Returns a dynamically created closure for the function', ), 'up' => array ( 0 => 'class.reflectionfunction.php', 1 => 'ReflectionFunction', ), 'prev' => array ( 0 => 'reflectionfunction.export.php', 1 => 'ReflectionFunction::export', ), 'next' => array ( 0 => 'reflectionfunction.invoke.php', 1 => 'ReflectionFunction::invoke', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/reflection/reflectionfunction/getclosure.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
ReflectionFunction::getClosure — Returns a dynamically created closure for the function
Get a dynamically created closure for the function.
此函数没有参数。
Returns the newly created Closure.