« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 69 for Messages (0.001 sec.)
ssh2_keepalive_config — Configure how often keepalive messages should be sent |... 13051
ssh2_keepalive_config (PECL ssh2 >= 1.5.0) ssh2_keepalive_config — Configure how often keepalive messages should be sent 説明 function ssh2_keepalive_config ( resource $session , bool $want_reply , int $interval ): void Configures how often ... keepalive messages are sent on the given session , and whether the server is asked to reply to them. Keepalive messages are not sent automati ... link identifier, obtained from a call to ssh2_connect() . want_reply Whether the server is requested to reply to keepalive messages. Requesting a reply makes an unresponsive server detectable, at the cost of some extra traffic. interval The number of sec ... onds that may pass without any traffic before a keepalive message should be sent. A value of 0 disables keepalive messages, and a value of 1 is treated as 2 by the underlying library. Accep ...
https://man.mtool.work/php/8.3/function.ssh2-keepalive-config.html
EvStat::__construct — Constructs EvStat watcher object | PHP 8.3 10124
EvStat::__construct (PECL ev >= 0.2.0) EvStat::__construct — Constructs EvStat watcher object 説明 public function EvStat::__construct ( string $path , float $interval , callable $callback , mixed $data = null , int $priority = 0 ) Construc ... her callbacks . data Custom data associated with the watcher. priority Watcher priority 例 例1 Monitor changes of /var/log/messages <?php // Use 10 second update interval. $w = new EvStat ( "/var/log/messages" , 10 , function ( $w ) { echo "/var/log/mess ... nt atime: %ld\n" , $attr [ 'atime' ]); printf ( "Current mtime: %ld\n" , $attr [ 'mtime' ]); } else { fprintf ( STDERR , "`messages` file is not there!" ); $w -> stop (); } }); ?> 他のマニュアルの関連ページ Linux JM fstat(2) Linux JM stat64(2) Linux JM s ...
https://man.mtool.work/php/8.3/evstat.construct.html
The ZMQ class | PHP 8.3 10025
The ZMQ class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQ { /* 定数 */ const int SOCKET_PAIR ; const int SOCKET_PUB ; const int SOCKET_SUB ; const int SOCKET_REQ ; const int SOCKET_REP ; const int SOCKET_XREQ ; const int SOCKET_XREP ; ... that load balances to all connected peers ZMQ::SOCKET_XPUB Similar to SOCKET_PUB, except you can receive subscriptions as messages. The subscription message is 0 (unsubscribe) or 1 (subscribe) followed by the topic. ZMQ::SOCKET_XSUB Similar to SOCKET_SU ... B, except you can send subscriptions as messages. See SOCKET_XPUB for format. ZMQ::SOCKET_STREAM Used to send and receive TCP data from a non-ØMQ peer. Available if compil ... ed against ZeroMQ 4.x or higher (Value: int ). ZMQ::SOCKOPT_HWM The high water mark for inbound and outbound messages is a hard limit on the maximum number of outstanding messages ØMQ shall queue in memory for any single peer that the speci ...
https://man.mtool.work/php/8.3/class.zmq.html
swoole_error_log — Output error messages to the log | PHP 8.3 9813
swoole_error_log (PECL swoole >= 4.5.8) swoole_error_log — Output error messages to the log 説明 function swoole_error_log ( int $level , string $msg ): void Output error messages to the log. パラメータ level Log Level, constants can be use ... , SWOOLE_LOG_NONE msg Message content to be written to the log. 戻り値 値を返しません。 他のマニュアルの関連ページ Django messages DuckDB Logging FastAPI WebSocket Django 2.2.14 Django validators Django 1.6.4 ...
https://man.mtool.work/php/8.3/function.swoole-error-log.html
The MongoDB\Driver\Monitoring\LogSubscriber interface | PHP 8.3 9502
The MongoDB\Driver\Monitoring\LogSubscriber interface (mongodb >=1.17.0) はじめに Classes implementing this interface may be registered as a subscriber and receive log messages from the extension. This is similar to stream-based debug loggi ... ng (i.e. mongodb.debug ) except that trace-level log messages are not received. As with stream-based logging, it is only possible to register a logger globally using MongoDB\Driver\Mon ... itoring\addSubscriber() . The extension is not able to distinguish log messages for individual MongoDB\Driver\Manager objects. インターフェイス概要 class MongoDB\Driver\Monitoring\LogSubscriber implemen ... g message 他のマニュアルの関連ページ Python logging Python logging DuckDB Configuration DuckDB Logging Python debug Django messages ...
https://man.mtool.work/php/8.3/class.mongodb-driver-monitoring-logsubscriber.htm...
EvStat::attr — Returns the values most recently detected by Ev | PHP 8.3 9502
EvStat::attr (PECL ev >= 0.2.0) EvStat::attr — Returns the values most recently detected by Ev 説明 public function EvStat::attr (): array Returns array of the values most recently detected by Ev パラメータ この関数にはパラメータはありません ... last status change 'mtime' time of last modification See stat(2) man page for details. 例 例1 Monitor changes of /var/log/messages <?php // Use 10 second update interval. $w = new EvStat ( "/var/log/messages" , 8 , function ( $w ) { echo "/var/log/messa ... nt atime: %ld\n" , $attr [ 'atime' ]); printf ( "Current mtime: %ld\n" , $attr [ 'mtime' ]); } else { fprintf ( STDERR , "`messages` file is not there!" ); $w -> stop (); } }); Ev :: run (); ?> 参考 EvStat::prev() - Returns the previous set of values ret ...
https://man.mtool.work/php/8.3/evstat.attr.html
imap_status — 現在のメールボックス以外のメールボックスのステータス情報を返す | ... 9389
imap_status (PHP 4, PHP 5, PHP 7, PHP 8) imap_status — 現在のメールボックス以外のメールボックスのステータス情報を返す 説明 function imap_status ( IMAP\Connection $imap , string $mailbox , int $flags ): stdClass | false 指定したメールボックス ... メータに渡すのであれば、 imap.enable_insecure_rsh を無効にしておかなければ 危険 です。 flags 以下のフラグが使用できます。 SA_MESSAGES - $status->messages にメールボックスのメッセージ数を設定する SA_RECENT - $status->recent にメールボックスの最近のメッセージ ... する 戻り値 この関数は、ステータス情報を含むオブジェクトを返します。 失敗した場合に false を返します。 このオブジェクトには messages 、 recent 、 unseen 、 uidnext および uidvalidity というプロパティが含まれます。 flags にも、 上の各定数に対応するビットマ ... せん: " . imap_last_error ()); $status = imap_status ( $mbox , "{imap.example.org}INBOX" , SA_ALL ); if ( $status ) { echo "Messages: " . $status -> messages . "<br />\n" ; echo "Recent: " . $status -> recent . "<br />\n" ; echo "Unseen: " . $status -> un ...
https://man.mtool.work/php/8.3/function.imap-status.html
ZMQDevice::__construct — Construct a new device | PHP 8.3 9290
ZMQDevice::__construct (PECL zmq >= 0.5.0) ZMQDevice::__construct — Construct a new device 説明 public function ZMQDevice::__construct ( ZMQSocket $frontend , ZMQSocket $backend , ZMQSocket $listener = ? ) "ØMQ devices can do intermediation ... bove the message and socket layers." -- zguide パラメータ frontend Frontend parameter for the devices. Usually where there messages are coming. backend Backend parameter for the devices. Usually where there messages going to. listener Listener socket, wh ... ich receives a copy of all messages going both directions. The type of this socket should be SUB, PULL or DEALER. 戻り値 Call to this method will prepare the ...
https://man.mtool.work/php/8.3/zmqdevice.construct.html
sodium_crypto_generichash_final — ハッシュ値を計算する | PHP 8.3 8767
sodium_crypto_generichash_final (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_generichash_final — ハッシュ値を計算する 説明 function sodium_crypto_generichash_final ( string &$state , int $length = SODIUM_CRYPTO_GENERICHASH_BYTES ): string ストリー ... れたハッシュステート。 length 出力の長さ 戻り値 ハッシュ値を返します。 例 例1 sodium_crypto_generichash_final() の例 <?php $messages = [ random_bytes ( 32 ), random_bytes ( 32 ), random_bytes ( 16 )]; $state = sodium_crypto_generichash_init ( '' , 32 ); f ... oreach ( $messages as $message ) { sodium_crypto_generichash_update ( $state , $message ); } $final = sodium_crypto_generichash_final ( $stat ... e , 32 ); var_dump ( sodium_bin2hex ( $final )); $allAtOnce = sodium_crypto_generichash ( implode ( '' , $messages )); var_dump ( sodium_bin2hex ( $allAtOnce )); ?> 上の例の出力は、 たとえば以下のようになります。 string(64) "a2939a9163cb ...
https://man.mtool.work/php/8.3/function.sodium-crypto-generichash-final.html
sodium_crypto_generichash_update — メッセージをハッシュに追加する | PHP 8.3 8767
sodium_crypto_generichash_update (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_generichash_update — メッセージをハッシュに追加する 説明 function sodium_crypto_generichash_update ( string &$state , string $message ): true 内部的なハッシュステートにメ ... ssage ハッシュステートに追加するデータ 戻り値 常に true を返します。 例 例1 sodium_crypto_generichash_update() の例 <?php $messages = [ random_bytes ( 32 ), random_bytes ( 32 ), random_bytes ( 16 )]; $state = sodium_crypto_generichash_init (); foreach ( ... $messages as $message ) { sodium_crypto_generichash_update ( $state , $message ); } $final = sodium_crypto_generichash_final ( $stat ... e ); var_dump ( sodium_bin2hex ( $final )); $allAtOnce = sodium_crypto_generichash ( implode ( '' , $messages )); var_dump ( sodium_bin2hex ( $allAtOnce )); ?> 上の例の出力は、 たとえば以下のようになります。 string(64) "e16e28bbbbcc ...
https://man.mtool.work/php/8.3/function.sodium-crypto-generichash-update.html
PREV 1 2 3 4 5 6 7 NEXT