« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 81 for LuaSandbox (0.004 sec.)
The LuaSandbox class 9193
« Basic usage for LuaSandbox LuaSandbox::callFunction » PHP Manual LuaSandbox The LuaSandbox class 検索 The LuaSandbox class (PECL luasandbox >= 1.0.0) はじめに The LuaSandbox class creates a Lua environment and allows for execution of Lua ... code. クラス概要 class LuaSandbox { /* 定数 */ const int SAMPLES = 0 ; const int SECONDS = 1 ; const int PERCENT = 2 ; /* メソッド */ public function callFu ... getMemoryUsage (): int public function getPeakMemoryUsage (): int public function getProfilerFunctionReport ( int $units = LuaSandbox::SECONDS ): array public static function getVersionInfo (): array public function loadBinary ( string $code , string $chun ... kName = '' ): LuaSandboxFunction public function loadString ( string $code , string $chunkName = '' ): LuaSandboxFunction public function pauseUsag ...
https://man.mtool.work/php/8.3/class.luasandbox.html
The LuaSandbox class 9193
« Basic usage for LuaSandbox LuaSandbox::callFunction » PHP Manual LuaSandbox The LuaSandbox class 検索 The LuaSandbox class (PECL luasandbox >= 1.0.0) はじめに The LuaSandbox class creates a Lua environment and allows for execution of Lua ... code. クラス概要 class LuaSandbox { /* 定数 */ const int SAMPLES = 0 ; const int SECONDS = 1 ; const int PERCENT = 2 ; /* メソッド */ public function callFu ... getMemoryUsage (): int public function getPeakMemoryUsage (): int public function getProfilerFunctionReport ( int $units = LuaSandbox::SECONDS ): array public static function getVersionInfo (): array public function loadBinary ( string $code , string $chun ... kName = '' ): LuaSandboxFunction public function loadString ( string $code , string $chunkName = '' ): LuaSandboxFunction public function pauseUsag ...
https://man.mtool.work/php/8.3/class.luasandbox.html
LuaSandbox 9029
« LuaClosure::__invoke インストール/設定 » PHP Manual その他の基本モジュール LuaSandbox 検索 LuaSandbox はじめに LuaSandbox is an extension for PHP 7 and PHP 8 to allow safely running untrusted Lua 5.1 code from within PHP. Differences comp ... ared to the Lua extension: LuaSandbox has support for time and memory limits. LuaSandbox provides a default-safe environment for running untrusted code. Stock L ... ua functions were reviewed for security, and several were patched accordingly. LuaSandbox has a PHP interface which is more complex, precise and powerful, but it is less convenient for developers. LuaSandbox supp ... orts only Lua 5.1. It is difficult to change this, because LuaSandbox uses heavily modified Lua standard libraries, and due to the lack of backwards compatibility between major Lua versions. L ...
https://man.mtool.work/php/8.3/book.luasandbox.html
LuaSandbox 9029
« LuaClosure::__invoke インストール/設定 » PHP Manual その他の基本モジュール LuaSandbox 検索 LuaSandbox はじめに LuaSandbox is an extension for PHP 7 and PHP 8 to allow safely running untrusted Lua 5.1 code from within PHP. Differences comp ... ared to the Lua extension: LuaSandbox has support for time and memory limits. LuaSandbox provides a default-safe environment for running untrusted code. Stock L ... ua functions were reviewed for security, and several were patched accordingly. LuaSandbox has a PHP interface which is more complex, precise and powerful, but it is less convenient for developers. LuaSandbox supp ... orts only Lua 5.1. It is difficult to change this, because LuaSandbox uses heavily modified Lua standard libraries, and due to the lack of backwards compatibility between major Lua versions. L ...
https://man.mtool.work/php/8.3/book.luasandbox.html
Unpause the timer paused by LuaSandbox::pauseUsageTimer 8318
« LuaSandbox::setMemoryLimit LuaSandbox::wrapPhpFunction » PHP Manual LuaSandbox Unpause the timer paused by LuaSandbox::pauseUsageTimer 検索 LuaSandbox::unpauseUsageTimer (PECL luasandbox >= 1.4.0) LuaSandbox::unpauseUsageTimer — Unpause t ... he timer paused by LuaSandbox::pauseUsageTimer() 説明 public function LuaSandbox::unpauseUsageTimer (): void Unpauses the timer paused by LuaSandbox::pa ... useUsageTimer() . パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 参考 LuaSandbox::pauseUsageTimer() - Pause the CPU usage timer LuaSandbox::setCPULimit() - Set the CPU time limit for the Lua environment ... 関連キーワード: LuaSandbox timer pauseUsageTimer paused Unpause unpauseUsageTimer setMemoryLimit wrapPhpFunction luasandbox Unpauses 参考 Pause usage ...
https://man.mtool.work/php/8.3/luasandbox.unpauseusagetimer.html
Return the versions of LuaSandbox and Lua 8291
« LuaSandbox::getProfilerFunctionReport LuaSandbox::loadBinary » PHP Manual LuaSandbox Return the versions of LuaSandbox and Lua 検索 LuaSandbox::getVersionInfo (PECL luasandbox >= 1.6.0) LuaSandbox::getVersionInfo — Return the versions of ... LuaSandbox and Lua 説明 public static function LuaSandbox::getVersionInfo (): array Returns the versions of LuaSandbox and Lua. パラメータ この関数にはパラメータはありません。 戻り ... 値 Returns an array with two keys: element type description LuaSandbox string The version of the LuaSandbox extension. Lua string The library name and version as defined by the LUA_RELEASE macr ... o, for example, "Lua 5.1.5". 関連キーワード: LuaSandbox Lua versions Return getVersionInfo array Returns パラメータ string getProfilerFunctionReport Search loadBinary luasandbox ...
https://man.mtool.work/php/8.3/luasandbox.getversioninfo.html
Unpause the timer paused by LuaSandbox::pauseUsageTimer 8291
« LuaSandbox::setMemoryLimit LuaSandbox::wrapPhpFunction » PHP Manual LuaSandbox Unpause the timer paused by LuaSandbox::pauseUsageTimer 検索 LuaSandbox::unpauseUsageTimer (PECL luasandbox >= 1.4.0) LuaSandbox::unpauseUsageTimer — Unpause t ... he timer paused by LuaSandbox::pauseUsageTimer() 説明 public function LuaSandbox::unpauseUsageTimer (): void Unpauses the timer paused by LuaSandbox::pa ... useUsageTimer() . パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 参考 LuaSandbox::pauseUsageTimer() - Pause the CPU usage timer LuaSandbox::setCPULimit() - Set the CPU time limit for the Lua environment ... 関連キーワード: LuaSandbox timer pauseUsageTimer paused Unpause unpauseUsageTimer パラメータ setMemoryLimit Search wrapPhpFunction luasandbox functio ...
https://man.mtool.work/php/8.3/luasandbox.unpauseusagetimer.html
Return the versions of LuaSandbox and Lua 8291
« LuaSandbox::getProfilerFunctionReport LuaSandbox::loadBinary » PHP Manual LuaSandbox Return the versions of LuaSandbox and Lua 検索 LuaSandbox::getVersionInfo (PECL luasandbox >= 1.6.0) LuaSandbox::getVersionInfo — Return the versions of ... LuaSandbox and Lua 説明 public static function LuaSandbox::getVersionInfo (): array Returns the versions of LuaSandbox and Lua. パラメータ この関数にはパラメータはありません。 戻り ... 値 Returns an array with two keys: element type description LuaSandbox string The version of the LuaSandbox extension. Lua string The library name and version as defined by the LUA_RELEASE macr ... o, for example, "Lua 5.1.5". 関連キーワード: LuaSandbox versions Return getVersionInfo getProfilerFunctionReport loadBinary luasandbox static keys element type description extens ...
https://man.mtool.work/php/8.3/luasandbox.getversioninfo.html
Fetch profiler data 8182
« LuaSandbox::getPeakMemoryUsage LuaSandbox::getVersionInfo » PHP Manual LuaSandbox Fetch profiler data 検索 LuaSandbox::getProfilerFunctionReport (PECL luasandbox >= 1.1.0) LuaSandbox::getProfilerFunctionReport — Fetch profiler data 説明 p ... ublic function LuaSandbox::getProfilerFunctionReport ( int $units = LuaSandbox::SECONDS ): array For a profiling instance previously started by LuaS ... , get a report of the cost of each function. The measurement unit used for the cost is determined by the $units parameter: LuaSandbox::SAMPLES Measure in number of samples. LuaSandbox::SECONDS Measure in seconds of CPU time. LuaSandbox::PERCENT Measure per ... OS X, this function will report the elapsed wall-clock time, not CPU time. 例 例1 Profiling Lua code <?php // create a new LuaSandbox $sandbox = new LuaSandbox (); // Start the profiler $sandbox -> enableProfiler ( 0.01 ); // ... Execute some Lua code here ...
https://man.mtool.work/php/8.3/luasandbox.getprofilerfunctionreport.html
Fetch profiler data 8127
« LuaSandbox::getPeakMemoryUsage LuaSandbox::getVersionInfo » PHP Manual LuaSandbox Fetch profiler data 検索 LuaSandbox::getProfilerFunctionReport (PECL luasandbox >= 1.1.0) LuaSandbox::getProfilerFunctionReport — Fetch profiler data 説明 p ... ublic function LuaSandbox::getProfilerFunctionReport ( int $units = LuaSandbox::SECONDS ): array For a profiling instance previously started by LuaS ... , get a report of the cost of each function. The measurement unit used for the cost is determined by the $units parameter: LuaSandbox::SAMPLES Measure in number of samples. LuaSandbox::SECONDS Measure in seconds of CPU time. LuaSandbox::PERCENT Measure per ... OS X, this function will report the elapsed wall-clock time, not CPU time. 例 例1 Profiling Lua code <?php // create a new LuaSandbox $sandbox = new LuaSandbox (); // Start the profiler $sandbox -> enableProfiler ( 0.01 ); // ... Execute some Lua code here ...
https://man.mtool.work/php/8.3/luasandbox.getprofilerfunctionreport.html
PREV 1 2 3 4 5 6 7 8 9 NEXT