« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 78 for time limit (0.002 sec.)
time (499), limit (261)
LuaSandbox::setCPULimit — Set the CPU time limit for the Lua environment | PHP ... 17353
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 ... onment. If the total user and system time used by the environment after the call to this method exceeds this limit, a LuaSandboxTimeoutError exception is thrown. Ti ... me used in PHP callbacks is included in the limit. Setting the time limit from a callback while Lua is running causes the timer to be reset, or started if it was not alread ... y running. 注意 : On Windows, the CPU limit will be ignored. On operating systems that do not support CLOCK_THREAD_CPUTIME_ID , such as FreeBSD and Mac OS X, wall-clo ...
https://man.mtool.work/php/8.3/luasandbox.setcpulimit.html
set_time_limit — 実行時間の最大値を制限する | PHP 8.3 12611
set_time_limit (PHP 4, PHP 5, PHP 7, PHP 8) set_time_limit — 実行時間の最大値を制限する 説明 function set_time_limit ( int $seconds ): bool スクリプトが実行可能な秒数を設定します。 この制限にかかるとスクリプトは致命的エラーを返します。 デフ ... ォルトの制限値は 30 秒です。 なお、 php.ini で max_execution_time の 値が定義されている場合にはそれを用います。 この関数がコールされた場合、 タイムアウトカウンタをゼロから再スタートします。 ... 言いかえると、タイムアウトがデフォルトの 30 秒で スクリプト実行までに 25 秒かかる場合に、 set_time_limit(20) を実行すると、スクリプトは、 タイムアウトまでに全体で 45秒 の間実行されます。 パラメータ seconds 最大実行時間を表 ... 設定すると、時間制限を行いません。 戻り値 成功した場合に true 、失敗した場合に false を返します。 注意 注意 : 関数 set_time_limit() と設定ディレクティブ max_execution_time は、 このスクリプト自体の実行時間にのみ影響を与えます。 system() を用いたシステム ...
https://man.mtool.work/php/8.3/function.set-time-limit.html
LuaSandbox::setMemoryLimit — Set the memory limit for the Lua environment | PHP... 11897
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 ... nt. If this limit is exceeded, a LuaSandboxMemoryError exception is thrown. パラメータ limit Memory limit in bytes. 戻り値 値を返しません。 ... 例 例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 ... Sandbox::getPeakMemoryUsage() - Fetch the peak memory usage of the Lua environment LuaSandbox::setCPULimit() - Set the CPU time limit for the Lua environment 他のマニュアルの関連ページ Linux JM clearenv(3) DuckDB Known Issues DuckDB Out DuckDB Limits ...
https://man.mtool.work/php/8.3/luasandbox.setmemorylimit.html
LuaSandbox::pauseUsageTimer — Pause the CPU usage timer | PHP 8.3 11656
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 withi ... n a callback from Lua. When execution returns to Lua, the timer will be automatically unpaused. If a new call into Lua is made, the timer will be unpaused for the duration of that call. ... If a PHP callback calls into Lua again with timer not paused, and then that Lua function calls into PHP again, the second PHP call will not be able to pause the timer. The ... logic is that even though the second PHP call would avoid counting the CPU usage against the limit, the first call still counts it. パラメータ この関数にはパラメータはありません。 戻り値 Returns a bool indicating whether ...
https://man.mtool.work/php/8.3/luasandbox.pauseusagetimer.html
time_sleep_until — 指定した時刻まで実行を遅延する | PHP 8.3 11290
time_sleep_until (PHP 5 >= 5.1.0, PHP 7, PHP 8) time_sleep_until — 指定した時刻まで実行を遅延する 説明 function time_sleep_until ( float $timestamp ): bool 指定した timestamp までスクリプトの実行を遅延させます。 パラメータ timestamp スクリプ ... トが再開する時刻。 戻り値 成功した場合に true を、失敗した場合に false を返します。 エラー / 例外 過去の timestamp を指定した場合、この関数は E_WARNING を発生させます。 例 例1 time_sleep_until() の例 <?php // false を返し、警告を発生 ... します var_dump ( time_sleep_until ( time ()- 1 )); // 高速なコンピュータ上でのみ動作します。実行を 0.2 秒遅延します。 var_dump ( time_sleep_unti ... 実行を遅延させる usleep() - マイクロ秒単位で実行を遅延する time_nanosleep() - 秒およびナノ秒単位で実行を遅延する set_time_limit() - 実行時間の最大値を制限する 他のマニュアルの関連ページ Linux JM sleep(3) Linux JM sleep(1) Linux JM nanosleep(2) Linux ...
https://man.mtool.work/php/8.3/function.time-sleep-until.html
LuaSandbox::getCPUUsage — Fetch the current CPU time usage of the Lua environme... 11267
LuaSandbox::getCPUUsage (PECL luasandbox >= 1.0.0) LuaSandbox::getCPUUsage — Fetch the current CPU time usage of the Lua environment 説明 public function LuaSandbox::getCPUUsage (): float Fetches the current CPU time usage of the Lua enviro ... nment. This includes time spent in PHP callbacks. パラメータ この関数にはパラメータはありません。 戻り値 Returns the current CPU time usage in secon ... ds. 注意 : On Windows, this function always returns zero. On operating systems that do not support CLOCK_THREAD_CPUTIME_ID , such as FreeBSD and Mac OS X, this function will return the elapsed wall-clock time, not CPU time. 参考 LuaSandbox::g ... he Lua environment LuaSandbox::getPeakMemoryUsage() - Fetch the peak memory usage of the Lua environment LuaSandbox::setCPULimit() - Set the CPU time limit for the Lua environment 他のマニュアルの関連ページ Linux JM clearenv(3) Linux JM environ(7) Duc ...
https://man.mtool.work/php/8.3/luasandbox.getcpuusage.html
time_nanosleep — 秒およびナノ秒単位で実行を遅延する | PHP 8.3 11250
time_nanosleep (PHP 5, PHP 7, PHP 8) time_nanosleep — 秒およびナノ秒単位で実行を遅延する 説明 function time_nanosleep ( int $seconds , int $nanoseconds ): array | bool 指定した seconds および nanoseconds の時間だけプログラムの実行を遅延させ ... て遅延処理が中断された場合、以下の要素からなる連想配列を返します。 seconds - 残りの秒数 nanoseconds - 残りのナノ秒数 例 例1 time_nanosleep() の例 <?php // 注意! もし配列が返された場合、これはうまく動作しません if ( time_nanosleep ( 0 , 500000000 )) { ... echo "0.5 秒遅延しました。\n" ; } // こちらのほうがよいでしょう if ( time_nanosleep ( 0 , 500000000 ) === true ) { echo "0.5 秒遅延しました。\n" ; } // そしてこれが最良の方法です $nano = time_nano ... - 実行を遅延させる usleep() - マイクロ秒単位で実行を遅延する time_sleep_until() - 指定した時刻まで実行を遅延する set_time_limit() - 実行時間の最大値を制限する 他のマニュアルの関連ページ Linux JM sleep(3) Linux JM nanosleep(2) Linux JM sleep(1) Python ...
https://man.mtool.work/php/8.3/function.time-nanosleep.html
MongoDB\Driver\Query::__construct — Create a new Query | PHP 8.3 10197
MongoDB\Driver\Query::__construct (mongodb >=1.0.0) MongoDB\Driver\Query::__construct — Create a new Query 説明 final public function MongoDB\Driver\Query::__construct ( array | object $filter , ? array $queryOptions = null ) Constructs a n ... iption allowDiskUse bool Allows MongoDB to use temporary disk files to store data exceeding the 100 megabyte system memory limit while processing a blocking sort operation. allowPartialResults bool For queries against a sharded collection, returns par ... option to block a getMore operation on the cursor temporarily if at the end of data rather than returning no data. After a timeout period, the query returns as normal. batchSize int The number of documents to return in the first batch. Defaults to 10 ... ior versions for string comparisons. This option is available in MongoDB 3.4+ and will result in an exception at execution time if specified for an older server version. comment mixed An arbitrary comment to help trace the operation through the datab ...
https://man.mtool.work/php/8.3/mongodb-driver-query.construct.html
Yac::dump — Dump cache entries for inspection | PHP 8.3 9981
Yac::dump (PECL yac >= 1.0.0) Yac::dump — Dump cache entries for inspection 説明 public function Yac::dump ( int $limit = 100 , int $offset = 0 ): array Dumps metadata of the entries currently stored in the cache. The values themselves are ... not returned. パラメータ limit Maximum number of entries to return. Passing -1 as limit dumps every entry the cache currently holds. Note that building t ... he full list may use a considerable amount of memory for a large cache; when memory matters, page through the entries with limit and offset instead. offset Number of entries to skip before collecting. This parameter is available as of PECL yac 2.4.0; ... ksum of the stored value, used to detect torn reads. 0 for embedded entries, which have no value block. ttl The expiration timestamp (Unix time). 0 means the entry never expires by time. Note that Yac::delete() only marks an entry expired, so deleted ...
https://man.mtool.work/php/8.3/yac.dump.html
コア php.ini ディレクティブに関する説明 | PHP 8.3 9855
コア php.ini ディレクティブに関する説明 このリストには、PHPを設定する際に使用可能なコア php.ini ディレクティブが 含まれています。拡張モジュールにより処理されるディレクティブは、それぞれの 拡張モジュールのドキュメントページにリストと詳細が記 ... 7 でした。 disable_functions "" INI_SYSTEM のみ disable_classes "" php.ini のみ PHP 8.5.0 以降は削除されています。 exit_on_timeout "" INI_ALL expose_php "1" php.ini のみ hard_timeout "2" INI_SYSTEM PHP 7.1.0 以降で利用可能。 zend.exception_ignore_arg ... ax_len int 文字列化されたスタックトレース中の、関数の引数の長さの最大値。 "0" と "1000000" の間でなければいけません。 hard_timeout int max_execution_time で設定されたタイムアウトに達すると、 PHPランタイムはリソースをgracefulに解放します。 リソースを解 ... させることで、未処理のロックやメモリの後始末も行います。 リソース制限 リソース制限 名前 デフォルト 変更可能 変更履歴 memory_limit "128M" INI_ALL max_memory_limit "-1" INI_SYSTEM PHP 8.5.0 以降で利用可能。 memory_hard_limit_percent null INI_ALL PHP 8.5. ...
https://man.mtool.work/php/8.3/ini.core.html
PREV 1 2 3 4 5 6 7 8 NEXT