array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'luasandbox.getversioninfo.php', 1 => 'LuaSandbox::getVersionInfo', 2 => 'Return the versions of LuaSandbox and Lua', ), 'up' => array ( 0 => 'class.luasandbox.php', 1 => 'LuaSandbox', ), 'prev' => array ( 0 => 'luasandbox.getprofilerfunctionreport.php', 1 => 'LuaSandbox::getProfilerFunctionReport', ), 'next' => array ( 0 => 'luasandbox.loadbinary.php', 1 => 'LuaSandbox::loadBinary', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/luasandbox/luasandbox/getversioninfo.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

LuaSandbox::getVersionInfo

(PECL luasandbox >= 1.6.0)

LuaSandbox::getVersionInfoReturn the versions of LuaSandbox and Lua

Descrizione

public static LuaSandbox::getVersionInfo(): array

Returns the versions of LuaSandbox and Lua.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

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".