« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 32 for Delay (0.003 sec.)
eio_busy — 人為的に負荷を高くする。テストやベンチマークなどで有用 | PHP 8.3 12211
eio_busy (PECL eio >= 0.0.1dev) eio_busy — 人為的に負荷を高くする。テストやベンチマークなどで有用 説明 function eio_busy ( int $delay , int $pri = EIO_PRI_DEFAULT , callable $callback = NULL , mixed $data = NULL ): resource eio_busy() は人為 ... 的に負荷を高め、実行前に delay 秒待ちます。デバッグやベンチマークに使えるでしょう。 パラメータ delay 待つ秒数。 pri リクエストの優先順位。 EIO_PRI_DEFAUL ...
https://man.mtool.work/php/8.3/function.eio-busy.html
Memcached::flush — キャッシュ内のすべてのアイテムを無効にする | PHP 8.3 12017
Memcached::flush (PECL memcached >= 0.1.0) Memcached::flush — キャッシュ内のすべてのアイテムを無効にする 説明 public function Memcached::flush ( int $delay = 0 ): bool Memcached::flush() は、既存のキャッシュ内のすべてのアイテムを即時 (デフォ ... ルト) あるいは指定した delay の後に無効化します。 無効化した後は、取得系のコマンドには一切アイテムを返さなくなります ( Memcached::flush() がアイテムを無 ... テムが確保していたメモリはその時点では解放されません。 新しいアイテムが格納されるたびに徐々に解放されていきます。 パラメータ delay アイテムの無効化までに待機する秒数。 戻り値 成功した場合に true を、失敗した場合に false を返します。 必要に応じて Memcach ...
https://man.mtool.work/php/8.3/memcached.flush.html
Gmagick::setimagedelay — 画像の遅延を設定する | PHP 8.3 11244
Gmagick::setimagedelay (PECL gmagick >= Unknown) Gmagick::setimagedelay — 画像の遅延を設定する 説明 public function Gmagick::setimagedelay ( int $delay ): Gmagick 画像の遅延を設定します。 パラメータ delay 画像の遅延を 1/100 秒単位で指定しま ...
https://man.mtool.work/php/8.3/gmagick.setimagedelay.html
Swoole\Timer::after — Execute a function after a specified time | PHP 8.3 10294
Swoole\Timer::after (PECL swoole >= 1.9.0) Swoole\Timer::after — Execute a function after a specified time 説明 public static function Swoole\Timer::after ( int $ms , callable $callback , mixed ...$params ): int | false Creates a one-shot t ... r, which is destroyed once its callback has run. Unlike sleep() , it does not block the current process. パラメータ ms The delay in milliseconds. Must be greater than or equal to 1 ; a lower value emits an E_WARNING and the call fails. callback The fu ... nction to execute once the delay has elapsed. It is called as callback(mixed ...$params) . Unlike Swoole\Timer::tick() , the timer ID is not passed to the ...
https://man.mtool.work/php/8.3/swoole-timer.after.html
Imagick::setImageDelay — 画像の遅延を設定する | PHP 8.3 9730
Imagick::setImageDelay (PECL imagick 2, PECL imagick 3) Imagick::setImageDelay — 画像の遅延を設定する 説明 public function Imagick::setImageDelay ( int $delay ): bool 画像の遅延を設定します。アニメーション画像の場合、この値は、 今のフレーム ... から次のフレームに移動するまでの時間になります。 パラメータ delay 画像を表示させる時間を 'ticks' で表した値。 アニメーション GIF の場合は 1 秒間に 100 ticks なので、 20 を設定すると 20/100 ... 戻り値 成功した場合に true を返します。 エラー / 例外 エラー時に ImagickException をスローします。 例 例1 Imagick::setImageDelay() を使ったアニメーション GIF の変更 <?php // アニメーション GIF を変更し、各フレームの表示時間を 50ms から 0ms に徐々に変え ... .gif" )); $imagick = $imagick -> coalesceImages (); $frameCount = 0 ; foreach ( $imagick as $frame ) { $imagick -> setImageDelay ((( $frameCount % 11 ) * 5 )); $frameCount ++; } $imagick = $imagick -> deconstructImages (); $imagick -> writeImages ( "/ ...
https://man.mtool.work/php/8.3/imagick.setimagedelay.html
GearmanClient::doStatus — Get the status for the running task | PHP 8.3 9537
GearmanClient::doStatus (PECL gearman >= 0.5.0) GearmanClient::doStatus — Get the status for the running task 説明 public function GearmanClient::doStatus (): array Returns the status for the running task. This should be used between repeat ... he second element the denomintor. 例 例1 Get the status of a long running job The worker in this example has an artificial delay added during processing of the string to be reversed. After each delay it calls GearmanJob::status() which the client then ...
https://man.mtool.work/php/8.3/gearmanclient.dostatus.html
実行時設定 | PHP 8.3 9537
実行時設定 php.ini の設定により動作が変化します。 Yaconf 設定オプション 名前 デフォルト 変更可能 変更履歴 yaconf.directory "" INI_SYSTEM yaconf.check_delay 300 INI_SYSTEM 以下に設定ディレクティブに関する 簡単な説明を示します。 yaconf.direct ... ion inherits every key from "default" and ; overrides the ones it redefines [premium:default] rate_limit=1000 yaconf.check_delay int The interval, in seconds, at which Yaconf checks whether any loaded INI file has changed and reloads the changed ones ...
https://man.mtool.work/php/8.3/yaconf.configuration.html
win32_create_service — SCM データベースに新しいサービスのエントリを作成する | P... 8957
win32_create_service (PECL win32service >=0.1.0) win32_create_service — SCM データベースに新しいサービスのエントリを作成する 説明 function win32_create_service ( array $details , string $machine = null ): void SCM データベースに新しいサービ ... 示します。 デフォルトは WIN32_SERVER_ERROR_IGNORE です。 この値を変更することは、現時点では完全にはサポートされていません。 delayed_start delayed_start を true にすると、 他の自動起動サービスが開始したあとで少し間をおいてサービスが起動するようになります ... ます。 dependencies サービスへの依存性を定義します。 サービス名の一覧を配列として設定する必要があるかもしれません。 recovery_delay 失敗時とリカバリアクションの実行の間に取る時間を定義します。 この値はマイクロ秒単位です。 デフォルトは 60000 です。 recove ... 引数が不正な場合は、 ValueError がスローされます。 base_priority 引数が不正な場合は、 ValueError がスローされます。 recovery_delay 引数が 0 と PHP_INT_MAX の間にない場合は、 ValueError がスローされます。 recovery_action_1 引数が不正な場合は、 ValueError ...
https://man.mtool.work/php/8.3/function.win32-create-service.html
Yac::delete — Remove items from cache | PHP 8.3 8957
Yac::delete (PECL yac >= 1.0.0) Yac::delete — Remove items from cache 説明 public function Yac::delete ( string | array $key , int $delay = 0 ): bool Removes one or more items from the cache. 注意 : Deletion is implemented by marking the en ... mp() , such entries have to be filtered out by the caller. パラメータ key A string key, or an array of keys to be removed. delay Number of seconds before the item becomes invalid. When omitted or 0 , the item is invalidated immediately. A positive val ... info ()[ "slots_used" ]); // int(1) print_r ( $yac -> dump ()); // "foo" is still listed; its ttl // is in the past ?> 例2 Delayed deletion <?php $yac = new Yac (); // keep the entry readable for 60 more seconds before it expires $yac -> set ( "tmp" , ...
https://man.mtool.work/php/8.3/yac.delete.html
Swoole\Server::defer — Delay execution of the callback function at the end of c... 8763
Swoole\Server::defer (PECL swoole >= 1.9.0) Swoole\Server::defer — Delay execution of the callback function at the end of current EventLoop. 説明 public function Swoole\Server::defer ( callable $callback ): void パラメータ callback 戻り値 他 ...
https://man.mtool.work/php/8.3/swoole-server.defer.html
PREV 1 2 3 4 NEXT