# The LuaSandboxFunction class

(PECL luasandbox >= 1.0.0)

## はじめに

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().

## クラス概要

class LuaSandboxFunction {
/* メソッド */
public function call(string `...$args`): array|bool
public function dump(): string
}

## 目次

- LuaSandboxFunction::call — Call a Lua function
- LuaSandboxFunction::__construct — Unused
- LuaSandboxFunction::dump — Dump the function as a binary blob

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open