PHP - Manual: LuaSandbox::loadBinary
2024-11-13
(PECL luasandbox >= 1.0.0)
LuaSandbox::loadBinary — Load a precompiled binary chunk into the Lua environment
Loads data generated by LuaSandboxFunction::dump().
code
Data from LuaSandboxFunction::dump().
chunkName
Name for the loaded function.
Returns a LuaSandboxFunction.
官方地址:https://www.php.net/manual/en/luasandbox.loadbinary.php