(PECL luasandbox >= 1.0.0)
The LuaSandbox class creates a Lua environment and allows for execution of Lua code.
$name
...$args
$period
$units
$code
$chunkName
$libname
$functions
$limit
$function
LuaSandbox::SAMPLES
Used with LuaSandbox::getProfilerFunctionReport() to return timings in samples.
LuaSandbox::SECONDS
Used with LuaSandbox::getProfilerFunctionReport() to return timings in seconds.
LuaSandbox::PERCENT
Used with LuaSandbox::getProfilerFunctionReport() to return timings in percentages of the total.