LonghornPHP 2026

La clase Lua

(PECL lua >=0.9.0)

Introducción

Sinopsis de la clase

class Lua {
/* Constants */
const string LUA_VERSION = Lua 5.1.4;
/* Métodos */
public function assign (string $name, string $value): mixed
public function call (callable $lua_func, array $args = ?, int $use_self = 0): mixed
public function __call (callable $lua_func, array $args = ?, int $use_self = 0): mixed
public function __construct (string $lua_script_file = NULL)
public function eval (string $statements): mixed
public function getVersion (): string
public function include (string $file): mixed
public function registerCallback (string $name, callable $function): mixed
}

Constantes predefinidas

Lua::LUA_VERSION

Tabla de contenidos

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /