« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 13 for pauseUsageTimer (0.001 sec.)
Unpause the timer paused by LuaSandbox::pauseUsageTimer 11454
« 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::pauseUsageTimer() . ... パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 参考 LuaSandbox::pauseUsageTimer() - Pause the CPU usage timer LuaSandbox::setCPULimit() - Set the CPU time limit for the Lua environment 関連キーワード: L ... uaSandbox timer pauseUsageTimer paused Unpause unpauseUsageTimer setMemoryLimit wrapPhpFunction luasandbox Unpauses 参考 Pause usage setCPULimit time limi ...
https://man.mtool.work/php/8.3/luasandbox.unpauseusagetimer.html
Unpause the timer paused by LuaSandbox::pauseUsageTimer 11384
« 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::pauseUsageTimer() . ... パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 参考 LuaSandbox::pauseUsageTimer() - Pause the CPU usage timer LuaSandbox::setCPULimit() - Set the CPU time limit for the Lua environment 関連キーワード: L ... uaSandbox timer pauseUsageTimer paused Unpause unpauseUsageTimer パラメータ setMemoryLimit Search wrapPhpFunction luasandbox function void Unpauses 戻り値 ...
https://man.mtool.work/php/8.3/luasandbox.unpauseusagetimer.html
Pause the CPU usage timer 10962
« LuaSandbox::loadString LuaSandbox::registerLibrary » PHP Manual LuaSandbox Pause the CPU usage timer 検索 LuaSandbox::pauseUsageTimer (PECL luasandbox >= 1.4.0) LuaSandbox::pauseUsageTimer — Pause the CPU usage timer 説明 public function ... LuaSandbox::pauseUsageTimer (): bool Pauses the CPU usage timer. This only has effect when called from within a callback from Lua. When execution retu ... } // Register a PHP callback $sandbox -> registerLibrary ( 'php' , [ 'test' => function () use ( $sandbox ) { $sandbox -> pauseUsageTimer (); doWait ( 5 ); $sandbox -> unpauseUsageTimer (); doWait ( 0.1 ); }, 'test2' => function () use ( $sandbox ) { $sandbox ... -> pauseUsageTimer (); $sandbox -> unpauseUsageTimer (); doWait ( 1.1 ); } ] ); echo "This should not time out...\n" ; $sandbox -> loadString ...
https://man.mtool.work/php/8.3/luasandbox.pauseusagetimer.html
Pause the CPU usage timer 10962
« LuaSandbox::loadString LuaSandbox::registerLibrary » PHP Manual LuaSandbox Pause the CPU usage timer 検索 LuaSandbox::pauseUsageTimer (PECL luasandbox >= 1.4.0) LuaSandbox::pauseUsageTimer — Pause the CPU usage timer 説明 public function ... LuaSandbox::pauseUsageTimer (): bool Pauses the CPU usage timer. This only has effect when called from within a callback from Lua. When execution retu ... } // Register a PHP callback $sandbox -> registerLibrary ( 'php' , [ 'test' => function () use ( $sandbox ) { $sandbox -> pauseUsageTimer (); doWait ( 5 ); $sandbox -> unpauseUsageTimer (); doWait ( 0.1 ); }, 'test2' => function () use ( $sandbox ) { $sandbox ... -> pauseUsageTimer (); $sandbox -> unpauseUsageTimer (); doWait ( 1.1 ); } ] ); echo "This should not time out...\n" ; $sandbox -> loadString ...
https://man.mtool.work/php/8.3/luasandbox.pauseusagetimer.html
The LuaSandbox class 8868
« 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 ... uaSandboxFunction public function loadString ( string $code , string $chunkName = '' ): LuaSandboxFunction public function pauseUsageTimer (): bool public function registerLibrary ( string $libname , array $functions ): void public function setCPULimit ( float ... | bool $limit ): void public function setMemoryLimit ( int $limit ): void public function unpauseUsageTimer (): void public function wrapPhpFunction ( callable $function ): LuaSandboxFunction } 定義済み定数 LuaSandbox::SAMPLES Use ... compiled 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::set ...
https://man.mtool.work/php/8.3/class.luasandbox.html
The LuaSandbox class 8868
« 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 ... uaSandboxFunction public function loadString ( string $code , string $chunkName = '' ): LuaSandboxFunction public function pauseUsageTimer (): bool public function registerLibrary ( string $libname , array $functions ): void public function setCPULimit ( float ... | bool $limit ): void public function setMemoryLimit ( int $limit ): void public function unpauseUsageTimer (): void public function wrapPhpFunction ( callable $function ): LuaSandboxFunction } 定義済み定数 LuaSandbox::SAMPLES Use ... compiled 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::set ...
https://man.mtool.work/php/8.3/class.luasandbox.html
LuaSandbox 8217
« 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 ... compiled 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::set ... 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 LuaSandbo ... iler extension running untrusted Differences time functions were backwards compatibility versions Call current Load binary pauseUsageTimer timer LuaSandboxError ...
https://man.mtool.work/php/8.3/book.luasandbox.html
Load Lua code into the Lua environment 7794
« LuaSandbox::loadBinary LuaSandbox::pauseUsageTimer » PHP Manual LuaSandbox Load Lua code into the Lua environment 検索 LuaSandbox::loadString (PECL luasandbox >= 1.0.0) LuaSandbox::loadString — Load Lua code into the Lua environment 説明 ... Load environment loadString function string LuaSandboxFunction chunkName loaded new sandbox Hello world loadBinary Search pauseUsageTimer luasandbox Loads ...
https://man.mtool.work/php/8.3/luasandbox.loadstring.html
Load Lua code into the Lua environment 7794
« LuaSandbox::loadBinary LuaSandbox::pauseUsageTimer » PHP Manual LuaSandbox Load Lua code into the Lua environment 検索 LuaSandbox::loadString (PECL luasandbox >= 1.0.0) LuaSandbox::loadString — Load Lua code into the Lua environment 説明 ... 連キーワード: code LuaSandbox Load environment loadString LuaSandboxFunction chunkName loaded sandbox Hello world loadBinary pauseUsageTimer luasandbox Loads equivalent standard loadstring chunk traces executed execute passed Loading create ...
https://man.mtool.work/php/8.3/luasandbox.loadstring.html
Register a set of PHP functions as a Lua library 7654
« LuaSandbox::pauseUsageTimer LuaSandbox::setCPULimit » PHP Manual LuaSandbox Register a set of PHP functions as a Lua library 検索 LuaSandbox::registerLibrary (PECL luasandbox >= 1.0.0) LuaSandbox::registerLibrary — Register a set of PHP f ... rary Register registerLibrary call frobnosticate libname code return LuaSandboxFunction table callable sandbox environment pauseUsageTimer setCPULimit luasandbox Registers relevant more information about calling values ...
https://man.mtool.work/php/8.3/luasandbox.registerlibrary.html
PREV 1 2 NEXT