Introduction
PHP Manual
PHP Manual»Lua»LuaClosure

The LuaClosure class

(PECL lua >=0.9.0)

LuaClosure is a wrapper class for LUA_TFUNCTION which could be return from calling to Lua function.

class LuaClosure {
/* Methods */
public function __invoke(mixed ...$args): void
}

Table of Contents

To Top