LuaSandbox
- Введение
- Установка и настройка
- Отличия от стандартного Lua
- Примеры
- LuaSandbox — Класс LuaSandbox
- LuaSandbox::callFunction — Call a function in a Lua global variable
- LuaSandbox::disableProfiler — Disable the profiler
- LuaSandbox::enableProfiler — Enable the profiler.
- LuaSandbox::getCPUUsage — Fetch the current CPU time usage of the Lua environment
- LuaSandbox::getMemoryUsage — Fetch the current memory usage of the Lua environment
- LuaSandbox::getPeakMemoryUsage — Fetch the peak memory usage of the Lua environment
- LuaSandbox::getProfilerFunctionReport — Fetch profiler data
- LuaSandbox::getVersionInfo — Return the versions of LuaSandbox and Lua
- LuaSandbox::loadBinary — Load a precompiled binary chunk into the Lua environment
- LuaSandbox::loadString — Load Lua code into the Lua environment
- LuaSandbox::pauseUsageTimer — Pause the CPU usage timer
- LuaSandbox::registerLibrary — Register a set of PHP functions as a Lua library
- LuaSandbox::setCPULimit — Set the CPU time limit for the Lua environment
- LuaSandbox::setMemoryLimit — Set the memory limit for the Lua environment
- LuaSandbox::unpauseUsageTimer — Unpause the timer paused by LuaSandbox::pauseUsageTimer
- LuaSandbox::wrapPhpFunction — Wrap a PHP callable in a LuaSandboxFunction
- LuaSandboxFunction — Класс LuaSandboxFunction
- LuaSandboxFunction::call — Call a Lua function
- LuaSandboxFunction::__construct — Unused
- LuaSandboxFunction::dump — Dump the function as a binary blob
- LuaSandboxError — Класс LuaSandboxError
- LuaSandboxErrorError — Класс LuaSandboxErrorError
- LuaSandboxFatalError — Класс LuaSandboxFatalError
- LuaSandboxMemoryError — Класс LuaSandboxMemoryError
- LuaSandboxRuntimeError — Класс LuaSandboxRuntimeError
- LuaSandboxSyntaxError — Класс LuaSandboxSyntaxError
- LuaSandboxTimeoutError — Класс LuaSandboxTimeoutError