PHP - Manual: LuaSandbox::loadBinary
2024-12-22
(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