2024 年日本 PHP 研討會

Lua 類別

(PECL lua >=0.9.0)

簡介

類別概要

class Lua {
/* 常數 */
const 字串 LUA_VERSION = Lua 5.1.4;
/* 方法 */
公開 assign(字串 $name, 字串 $value): 混合
公開 call(可呼叫 $lua_func, 陣列 $args = ?, 整數 $use_self = 0): 混合
公開 __call(可呼叫 $lua_func, 陣列 $args = ?, 整數 $use_self = 0): 混合
公開 __construct(字串 $lua_script_file = NULL)
公開 eval(字串 $statements): 混合
公開 getVersion(): 字串
公開 include(字串 $file): 混合
公開 registerCallback(字串 $name, 可呼叫 $function): 混合
}

預定義常數

Lua::LUA_VERSION

目錄

新增筆記

使用者貢獻的筆記

此頁面尚無使用者貢獻的筆記。
To Top