« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for usec (0.002 sec.)
実行時設定 | PHP 8.3 11737
実行時設定 php.ini の設定により動作が変化します。 Stomp 設定オプション 名前 デフォルト 変更可能 変更履歴 stomp.default_broker tcp://localhost:61613 INI_ALL stomp.default_connection_timeout_sec 2 INI_ALL stomp.default_connection_timeout_usec ... 0 INI_ALL stomp.default_read_timeout_sec 2 INI_ALL stomp.default_read_timeout_usec 0 INI_ALL 以下に設定ディレクティブに関する 簡単な説明を示します。 stomp.default_broker string The default broker URI to us ... mp.default_connection_timeout_sec int The seconds part of the default connection timeout. stomp.default_connection_timeout_usec int The microseconds part of the default connection timeout. stomp.default_read_timeout_sec int The seconds part of the de ... fault reading timeout. stomp.default_read_timeout_usec int The microseconds part of the default reading timeout. 他のマニュアルの関連ページ DuckDB Interval Functions Linux JM ad ...
https://man.mtool.work/php/8.3/stomp.configuration.html
getrusage — 現在のリソース使用状況を取得する | PHP 8.3 11432
getrusage (PHP 4, PHP 5, PHP 7, PHP 8) getrusage — 現在のリソース使用状況を取得する 説明 function getrusage ( int $mode = 0 ): array | false この関数は、 getrusage(2) へのインターフェイスです。 システムコールから返されたデータを含む連想配列 ... $dat [ "ru_nivcsw" ]; // 意図しないコンテキストスイッチ echo $dat [ "ru_nswap" ]; // スワップの数 echo $dat [ "ru_utime.tv_usec" ]; // 使用するユーザー時間 (マイクロ秒) echo $dat [ "ru_utime.tv_sec" ]; // 使用するユーザー時間 (秒) echo $dat [ "ru_sti ... me.tv_usec" ]; // 使用するシステム時間 (マイクロ秒) echo $dat [ "ru_stime.tv_sec" ]; // 使用するシステム時間 (秒) ?> 注意 注意 : Wind ... ows では、 getrusage() は以下のメンバーしか帰しません。 "ru_stime.tv_sec" "ru_stime.tv_usec" "ru_utime.tv_sec" "ru_utime.tv_usec" "ru_majflt" ( mode が RUSAGE_SELF である場合のみ) "ru_maxrss" ( mode が RUSAGE_SELF ...
https://man.mtool.work/php/8.3/function.getrusage.html
Stomp::getReadTimeout — Gets read timeout | PHP 8.3 10066
Stomp::getReadTimeout stomp_get_read_timeout (PECL stomp >= 0.3.0) Stomp::getReadTimeout -- stomp_get_read_timeout — Gets read timeout 説明 オブジェクト指向型 (method): public function Stomp::getReadTimeout (): array 手続き型: function stom ... ut パラメータ link 手続き型のみ: stomp_connect() が返す stomp リンク ID。 戻り値 Returns an array with 2 elements: sec and usec. 例 例1 オブジェクト指向型 <?php /* connection */ try { $stomp = new Stomp ( 'tcp://localhost:61613' ); } catch( StompExce ... ; /* close connection */ unset( $stomp ); ?> 上の例の出力は、 たとえば以下のようになります。 array(2) { ["sec"]=> int(2) ["usec"]=> int(0) } 例2 手続き型 <?php /* connection */ $link = stomp_connect ( 'ssl://localhost:61612' ); /* check connection */ ... lose connection */ stomp_close ( $link ); ?> 上の例の出力は、 たとえば以下のようになります。 array(2) { ["sec"]=> int(2) ["usec"]=> int(0) } 他のマニュアルの関連ページ Linux JM gets(3) Python smtplib ...
https://man.mtool.work/php/8.3/stomp.getreadtimeout.html
Swoole\Process::alarm — High precision timer which triggers signal with fixed i... 9958
Swoole\Process::alarm (PECL swoole >= 1.9.0) Swoole\Process::alarm — High precision timer which triggers signal with fixed interval. 説明 public static function Swoole\Process::alarm ( int $interval_usec ): void パラメータ interval_usec 戻り ...
https://man.mtool.work/php/8.3/swoole-process.alarm.html
gettimeofday — 現在の時間を得る | PHP 8.3 8915
gettimeofday (PHP 4, PHP 5, PHP 7, PHP 8) gettimeofday — 現在の時間を得る 説明 function gettimeofday ( bool $as_float = false ): array | float この関数は、gettimeofday(2) へのインターフェイスです。 この関数は、システムコールから返されたデー ... デフォルトでは配列を返します。 as_float が設定されている場合は float を返します。 配列のキー: "sec" - UNIX エポックからの秒 "usec" - マイクロ秒 "minuteswest" - グリニッジ基準の分 "dsttime" - 夏時間補正の型 例 例1 gettimeofday() の例 <?php print_r ( get ... timeofday ()); echo gettimeofday ( true ); 上の例の出力は、 たとえば以下のようになります。 Array ( [sec] => 1073504408 [usec] => 238215 [minuteswest] => 0 [dsttime] => 1 ) 1073504408.23910 他のマニュアルの関連ページ Linux JM gettimeofday(2) Linux ...
https://man.mtool.work/php/8.3/function.gettimeofday.html
The Swoole\Process class | PHP 8.3 7459
The Swoole\Process class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Process { /* 定数 */ const int IPC_NOWAIT = 256 ; /* メソッド */ public static function alarm ( int $interval_usec ): void public function close (): void publi ...
https://man.mtool.work/php/8.3/class.swoole-process.html
socket_get_option — ソケットのオプションを取得する | PHP 8.3 7351
socket_get_option (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) socket_get_option — ソケットのオプションを取得する 説明 function socket_get_option ( Socket $socket , int $level , int $option ): array | int | false socket_get_option() 関数は、ソケッ ... _RCVTIMEO 入力操作のタイムアウト値を報告します。 array 。配列に含まれるキーはふたつ。 sec はタイムアウトの秒単位の部分で、 usec はタイムアウトのマイクロ秒位の部分。 SO_SNDTIMEO 出力関数がフロー制御のためにブロックするタイムアウト値を報告します。 arra ... y 。配列に含まれるキーはふたつ。 sec はタイムアウトの秒単位の部分で、 usec はタイムアウトのマイクロ秒位の部分。 SO_SNDLOWAT socket の出力操作を行う際の最小バイト数を報告します。 int TCP_NODELAY Nag ...
https://man.mtool.work/php/8.3/function.socket-get-option.html
FFI の基本的な使い方 | PHP 8.3 7154
FFI の基本的な使い方 FFI API の詳細に深く立ち入る前に、よくあるタスクに対する FFI API の使い方が どれほど簡単かを示す例をいくつか見てみましょう。 注意 : これらの例の中には、 libc.so.6 を必要とするものがあります。 それらは、このライブラリが利 ... php // gettimeofday() のバインディングを作成する $ffi = FFI :: cdef ( " typedef unsigned int time_t; typedef unsigned int suseconds_t; struct timeval { time_t tv_sec; suseconds_t tv_usec; }; struct timezone { int tz_minuteswest; int tz_dsttime; }; in ...
https://man.mtool.work/php/8.3/ffi.examples-basic.html
サポートする日付と時刻の書式 | PHP 8.3 6722
サポートする日付と時刻の書式 この節では DateTimeImmutable , DateTime , date_create_immutable() , date_create() , date_parse() および strtotime() が解釈可能な、全てのBNFライクな書式について説明します。 これらの書式はセクションごとにグループ分 ... next' | 'last' | 'previous' | 'this' space [ \t]+ unit 'ms' | 'µs' | (( 'msec' | 'millisecond' | 'µsec' | 'microsecond' | 'usec' | 'sec' | 'second' | 'min' | 'minute' | 'hour' | 'day' | 'fortnight' | 'forthnight' | 'month' | 'year') 's'?) | 'weeks' | ...
https://man.mtool.work/php/8.3/datetime.formats.html
PREV 1 NEXT