PHP ReflectionFunction::getClosure 反射函数

  • 定义和用法

    ReflectionFunction::getClosure - 返回该函数的动态创建的闭包。
  • 版本支持

    PHP4 PHP5 PHP7
    不支持 支持 支持
  • 语法

    ReflectionFunction::getClosure( void )
    ReflectionFunction::getClosure() 返回该函数的动态创建的闭包。
  • 参数

    参数 必需的 描述
  • 返回值

    返回闭包。 发生错误时返回NULL。
  • 相关页面

    ReflectionFunction::invoke() - 调用函数