Results of 1 - 8 of about 8 for setMemoryLimit (0.002 sec.)
- LuaSandbox::setMemoryLimit — Set the memory limit for the Lua environment | PHP... 13682
- LuaSandbox::setMemoryLimit (PECL luasandbox >= 1.0.0) LuaSandbox::setMemoryLimit — Set the memory limit for the Lua environment 説明 public function LuaSandbox::setMemoryLimit ( int $limit ): void Sets the memory limit for the Lua environme
... 例1 Calling a Lua function <?php // create a new LuaSandbox $sandbox = new LuaSandbox (); // set a memory limit $sandbox -> setMemoryLimit ( 50 * 1024 * 1024 ); // Run Lua code $sandbox -> loadString ( 'local x = "x"; while true do x = x .. x; end' )-> call (); ...
-
https://man.mtool.work/php/8.3/luasandbox.setmemorylimit.html
- The LuaSandbox class | PHP 8.3 9218
- 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
... ary ( 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 ): Lu ... 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::pau ...
-
https://man.mtool.work/php/8.3/class.luasandbox.html
- LuaSandbox::getMemoryUsage — Fetch the current memory usage of the Lua environm... 8513
- LuaSandbox::getMemoryUsage (PECL luasandbox >= 1.0.0) LuaSandbox::getMemoryUsage — Fetch the current memory usage of the Lua environment 説明 public function LuaSandbox::getMemoryUsage (): int Fetches the current memory usage of the Lua env
... age of the Lua environment LuaSandbox::getCPUUsage() - Fetch the current CPU time usage of the Lua environment LuaSandbox::setMemoryLimit() - Set the memory limit for the Lua environment 他のマニュアルの関連ページ Linux JM clearenv(3) Django 1.11.14 DuckDB jem ...
-
https://man.mtool.work/php/8.3/luasandbox.getmemoryusage.html
- LuaSandbox::getPeakMemoryUsage — Fetch the peak memory usage of the Lua environ... 8513
- LuaSandbox::getPeakMemoryUsage (PECL luasandbox >= 1.0.0) LuaSandbox::getPeakMemoryUsage — Fetch the peak memory usage of the Lua environment 説明 public function LuaSandbox::getPeakMemoryUsage (): int Fetches the peak memory usage of the L
... age of the Lua environment LuaSandbox::getCPUUsage() - Fetch the current CPU time usage of the Lua environment LuaSandbox::setMemoryLimit() - Set the memory limit for the Lua environment 他のマニュアルの関連ページ Linux JM clearenv(3) Django 1.11.14 DuckDB jem ...
-
https://man.mtool.work/php/8.3/luasandbox.getpeakmemoryusage.html
- The LuaSandboxMemoryError class | PHP 8.3 8386
- The LuaSandboxMemoryError class (PECL luasandbox >= 1.0.0) はじめに Exception thrown when Lua cannot allocate memory. クラス概要 class LuaSandboxMemoryError extends LuaSandboxFatalError { /* 継承したプロパティ */ protected string $ message
... ): string public function Exception::__toString (): string private function Exception::__clone (): void } 参考 LuaSandbox::setMemoryLimit() 他のマニュアルの関連ページ Vim vim9class ...
-
https://man.mtool.work/php/8.3/class.luasandboxmemoryerror.html
- Basic usage for LuaSandbox | PHP 8.3 8097
- Basic usage for LuaSandbox Once you've compiled PHP with LuaSandbox support, you can begin using LuaSandbox to safely run user-provided Lua code. 例1 Execute some Lua code <?php $sandbox = new LuaSandbox ; $sandbox -> setMemoryLimit ( 50 *
...
-
https://man.mtool.work/php/8.3/luasandbox.examples-basic.html
- LuaSandbox::setCPULimit — Set the CPU time limit for the Lua environment | PHP ... 7970
- LuaSandbox::setCPULimit (PECL luasandbox >= 1.0.0) LuaSandbox::setCPULimit — Set the CPU time limit for the Lua environment 説明 public function LuaSandbox::setCPULimit ( float | bool $limit ): void Sets the CPU time limit for the Lua envir
... s script was exceeded 参考 LuaSandbox::getCPUUsage() - Fetch the current CPU time usage of the Lua environment LuaSandbox::setMemoryLimit() - Set the memory limit for the Lua environment 他のマニュアルの関連ページ Linux JM clearenv(3) Linux JM time(7) Python t ...
-
https://man.mtool.work/php/8.3/luasandbox.setcpulimit.html
- LuaSandbox | PHP 8.3 7826
- LuaSandbox はじめに LuaSandbox is an extension for PHP 7 and PHP 8 to allow safely running untrusted Lua 5.1 code from within PHP. Differences compared to the Lua extension: LuaSandbox has support for time and memory limits. LuaSandbox prov
... 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::pau ...
-
https://man.mtool.work/php/8.3/book.luasandbox.html
PREV
1
NEXT