« LuaSandbox::getProfilerFunctionReport
LuaSandbox::loadBinary »

LuaSandbox::getVersionInfo

(PECL luasandbox >= 1.6.0)

LuaSandbox::getVersionInfo — Return the versions of LuaSandbox and Lua

説明

public static function LuaSandbox::getVersionInfo(): array

Returns the versions of LuaSandbox and Lua.

パラメータ

この関数にはパラメータはありません。

戻り値

Returns an array with two keys:

elementtypedescription
LuaSandbox string The version of the LuaSandbox extension.
Lua string The library name and version as defined by the LUA_RELEASE macro, for example, "Lua 5.1.5".
関連キーワード:
LuaSandbox   versions   Return   getVersionInfo   getProfilerFunctionReport   loadBinary   luasandbox   static   keys   element   type   description   extension   library   defined   macro   example
関連する関数・ページ:
luasandbox.setup   luasandbox.examples   luasandbox.unpauseusagetimer   luasandbox.getprofilerfunctionreport   luasandbox.disableprofiler   luasandbox.loadstring