PHP Manual Function Reference Other Basic Extensions Lua LuaClosure Lua::registerCallback LuaClosure::__invoke The LuaClosure class (PECL lua >=0.9.0) Introduction LuaClosure is a wrapper class for LUA_TFUNCTION which could be return from calling to Lua function. Class synopsis LuaClosure { /* Methods */ public void __invoke ( mixed $arg [, mixed $... ] ) } Table of ContentsLuaClosure::__invoke — invoke luaclosure