PHP - Manual: LuaSandboxFunction
2024-12-22
(PECL luasandbox >= 1.0.0)
Represents a Lua function, allowing it to be called from PHP.
A LuaSandboxFunction may be obtained as a return value from Lua, as a parameter passed to a callback from Lua, or by using LuaSandbox::wrapPhpFunction(), LuaSandbox::loadString(), or LuaSandbox::loadBinary().
官方地址:https://www.php.net/manual/en/class.luasandboxfunction.php