« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 8 of about 8 for reuse (0.060 sec.)
The Swoole\Client class | PHP 8.3 12019
The Swoole\Client class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Client { /* 定数 */ const int MSG_OOB = 1 ; const int MSG_PEEK = 2 ; const int MSG_DONTWAIT = 128 ; const int MSG_WAITALL = 64 ; /* プロパティ */ public $ errCo ... de ; public $ sock ; public $ reuse ; public $ reuseCount ; /* メソッド */ public function close ( bool $force = ? ): bool public function connect ( string $h ... ion set ( array $settings ): void public function sleep (): void public function wakeup (): void } プロパティ errCode sock reuse reuseCount 定義済み定数 Swoole\Client::MSG_OOB Swoole\Client::MSG_PEEK Swoole\Client::MSG_DONTWAIT Swoole\Client::MSG_WAIT ...
https://man.mtool.work/php/8.3/class.swoole-client.html
curl_share_init_persistent — 持続的な cURL 共有ハンドルを初期化する | PHP 8.3 11332
curl_share_init_persistent (PHP 8 >= 8.5.0) curl_share_init_persistent — 持続的な cURL 共有ハンドルを初期化する 説明 function curl_share_init_persistent ( array $share_options ): CurlSharePersistentHandle 持続的な cURL 共有ハンドルを、 指定 ... url_init ( "http://example.com/" ); curl_setopt ( $ch1 , CURLOPT_SHARE , $sh ); // Execute the first cURL handle. This may reuse the connection from an earlier SAPI request curl_exec ( $ch1 ); // Initialize the second cURL handle and assign the share ... l_init ( "http://example.com/" ); curl_setopt ( $ch2 , CURLOPT_SHARE , $sh ); // Execute the second cURL handle. This will reuse the connection from $ch1 curl_exec ( $ch2 ); ?> 参考 curl_setopt() - cURL 転送用オプションを設定する curl_share_init() - c ...
https://man.mtool.work/php/8.3/function.curl-share-init-persistent.html
oci_set_call_timeout — Sets a millisecond timeout for database calls | PHP 8.3 9290
oci_set_call_timeout (PHP 7.2 >= 7.2.14, PHP 8, PHP 7 >= 7.3.1, PHP 8, PECL OCI8 >= 2.2.0) oci_set_call_timeout — Sets a millisecond timeout for database calls 説明 function oci_set_call_timeout ( resource $connection , int $timeout ): bool ... mpletion of each round-trip is not counted. When a call is interrupted, Oracle will attempt to clean up the connection for reuse. This operation is allowed to run for another time_out period. Depending on the outcome of the cleanup, the connection may ... or may not be reusable. When persistent connections are used, the timeout value will be retained across PHP requests. The oci_set_call_timeout() function is available when OCI8 uses ...
https://man.mtool.work/php/8.3/function.oci-set-call-timeout.html
sodium_crypto_secretbox_open — 認証付きの共有鍵による復号 | PHP 8.3 8946
sodium_crypto_secretbox_open (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_secretbox_open — 認証付きの共有鍵による復号 説明 function sodium_crypto_secretbox_open ( string $ciphertext , string $nonce , #[ \SensitiveParameter ] string $key ): string ... pen() の例 <?php // The $key must be kept confidential $key = random_bytes ( SODIUM_CRYPTO_SECRETBOX_KEYBYTES ); // Do not reuse $nonce with the same key $nonce = random_bytes ( SODIUM_CRYPTO_SECRETBOX_NONCEBYTES ); $ciphertext = sodium_crypto_secretb ...
https://man.mtool.work/php/8.3/function.sodium-crypto-secretbox-open.html
sodium_crypto_secretbox — 認証付きの共有鍵による暗号化 | PHP 8.3 8946
sodium_crypto_secretbox (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_secretbox — 認証付きの共有鍵による暗号化 説明 function sodium_crypto_secretbox ( #[ \SensitiveParameter ] string $message , string $nonce , #[ \SensitiveParameter ] string $key ) ... um_crypto_secretbox() の例 <?php // The $key must be kept confidential $key = sodium_crypto_secretbox_keygen (); // Do not reuse $nonce with the same key $nonce = random_bytes ( SODIUM_CRYPTO_SECRETBOX_NONCEBYTES ); $plaintext = "message to be encrypt ...
https://man.mtool.work/php/8.3/function.sodium-crypto-secretbox.html
The EventUtil class | PHP 8.3 8260
The EventUtil class (PECL event >= 1.5.0) はじめに EventUtil is a singleton with supplementary methods and constants. クラス概要 final class EventUtil { /* 定数 */ const int AF_INET = 2 ; const int AF_INET6 = 10 ; const int AF_UNSPEC = 0 ; ... const int LIBEVENT_VERSION_NUMBER = 33559808 ; const int SO_DEBUG = 1 ; const int SO_REUSEADDR = 2 ; const int SO_KEEPALIVE = 9 ; const int SO_DONTROUTE = 5 ; const int SO_LINGER = 13 ; const int SO_BROADCAST = 6 ... lowed for processes with the CAP_NET_ADMIN capability or an effective user ID of 0 . (Added in event-1.6.0.) EventUtil::SO_REUSEADDR Socket option. Indicates that the rules used in validating addresses supplied in a bind(2) call should allow reuse of ...
https://man.mtool.work/php/8.3/class.eventutil.html
New Features | PHP 8.3 7229
New Features PHP Core Default values for readonly properties Readonly properties may now declare default values. <?php class Config { public readonly int $timeout = 30 ; } $config = new Config (); var_dump ( $config -> timeout ); // int(30) ... itions a streamed request body, so libcurl can rewind and resend it on a redirect, multi-pass authentication, or a retried reused connection instead of failing with CURLE_SEND_FAIL_REWIND . The callback receives the CurlHandle , offset and origin, and ... RL would add more filters than the configured value. Negative values disable the check. Added the socket context option so_reuseaddr that allows disabling address reuse ( SO_REUSEADDR ) and explicitly uses SO_EXCLUSIVEADDRUSE on Windows. Added the soc ...
https://man.mtool.work/php/8.3/migration86.new-features.html
定義済み定数 | PHP 8.3 6199
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 以下の定数の説明と使い方は、 curl_setopt() , curl_multi_setopt() , curl_getin ... について、 より厳密にリダイレクトを追跡します。 CURLFOLLOW_FIRSTONLY は、最初のリダイレクトだけを追跡します。 CURLOPT_FORBID_REUSE ( int ) true を指定すると、処理が完了したとき明示的に接続を閉じ、 再利用のためにプールしないようになります。 cURL 7.7.0 以 ...
https://man.mtool.work/php/8.3/curl.constants.html
PREV 1 NEXT