PHP 7.3.32 Released!

The LuaSandboxFunction class

(PECL luasandbox >= 1.0.0)

Introducción

Represents a Lua function, allowing it to be called from PHP.

A LuaSandboxFunction may be obtained as a return value from Lua, as a parameter passed to a callback from Lua, or by using LuaSandbox::wrapPhpFunction(), LuaSandbox::loadString(), or LuaSandbox::loadBinary().

Sinopsis de la Clase

class LuaSandboxFunction {
/* Métodos */
public call(string ...$args): array|bool
public dump(): string
}

Tabla de contenidos

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top