« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for カウンタ (0.003 sec.)
ReflectionFunction::__construct — ReflectionFunction オブジェクトを作成する | P... 13265
ReflectionFunction::__construct (PHP 5, PHP 7, PHP 8) ReflectionFunction::__construct — ReflectionFunction オブジェクトを作成する 説明 public function ReflectionFunction::__construct ( Closure | string $function ) ReflectionFunction オブジェ ... しい関数でない場合に ReflectionException がスローされます。 例 例1 ReflectionFunction::__construct() の例 <?php /** * 簡単なカウンタ * * @return int */ function counter1 () { static $c = 0 ; return ++ $c ; } /** * 別の簡単なカウンタ * * @return int */ $co ... ===> The user-defined function 'counter1' declared in Z:\reflectcounter.php lines 7 to 11 ---> Documentation: '/** * 簡単なカウンタ * * @return int */' ---> Static variables: array ( 'c' => 0, ) ===> The user-defined function '{closure}' declared in Z:\r ... eflectcounter.php lines 18 to 23 ---> Documentation: '/** * 別の簡単なカウンタ * * @return int */' ---> Static variables: array ( 'd' => 0, ) 参考 ReflectionMethod::__construct() - ReflectionMethod を作 ...
https://man.mtool.work/php/8.3/reflectionfunction.construct.html
sodium_crypto_aead_chacha20poly1305_ietf_encrypt — メッセージを暗号化する | PHP... 10188
sodium_crypto_aead_chacha20poly1305_ietf_encrypt (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_aead_chacha20poly1305_ietf_encrypt — メッセージを暗号化する 説明 function sodium_crypto_aead_chacha20poly1305_ietf_encrypt ( #[ \SensitiveParameter ] str ... a20-Poly1305 を使って暗号化し、認証を行います。 (IETF バリアントです) IETF バリアントは、96ビットの nonce と 32ビットの内部カウンタを持ちます。 標準では、nonce, 内部カウンタともに64ビットです。 パラメータ message 暗号化するプレーンテキスト additional_data ...
https://man.mtool.work/php/8.3/function.sodium-crypto-aead-chacha20poly1305-ietf...
sodium_crypto_aead_chacha20poly1305_ietf_decrypt — 暗号化されたテキストが、有効... 9799
sodium_crypto_aead_chacha20poly1305_ietf_decrypt (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_aead_chacha20poly1305_ietf_decrypt — 暗号化されたテキストが、有効なタグを持っているかを調べる 説明 function sodium_crypto_aead_chacha20poly1305_ietf_decr ... ly1305 を用いてメッセージを検証し、復号します。 (IETF バリアントです) IETF バリアントは、96ビットの nonce と 32ビットの内部カウンタを持ちます。 標準では、nonce, 内部カウンタともに64ビットです。 パラメータ ciphertext sodium_crypto_aead_chacha20poly1305_iet ...
https://man.mtool.work/php/8.3/function.sodium-crypto-aead-chacha20poly1305-ietf...
Memcache::increment — 項目の値を増やす | PHP 8.3 9799
Memcache::increment memcache_increment (PECL memcache >= 0.2.0) Memcache::increment -- memcache_increment — 項目の値を増やす 説明 function Memcache::increment ( string $key , int $value = 1 ): int | false function memcache_increment ( Memca ... 例1 Memcache::increment() の例 <?php /* 手続き型の API */ $memcache_obj = memcache_connect ( 'memcache_host' , 11211 ); /* カウンタを 2 増やします */ $current_value = memcache_increment ( $memcache_obj , 'counter' , 2 ); /* オブジェクト指向の API */ $memc ... ache_obj = new Memcache ; $memcache_obj -> connect ( 'memcache_host' , 11211 ); /* カウンタを 3 増やします */ $current_value = $memcache_obj -> increment ( 'counter' , 3 ); ?> 参考 Memcache::decrement() - 項目の値を ...
https://man.mtool.work/php/8.3/memcache.increment.html
sodium_crypto_stream_xchacha20_xor_ic — nonce と秘密鍵を使ってメッセージを暗号... 9233
sodium_crypto_stream_xchacha20_xor_ic (PHP 8 >= 8.2.0) sodium_crypto_stream_xchacha20_xor_ic — nonce と秘密鍵を使ってメッセージを暗号化する(認証なし) 説明 function sodium_crypto_stream_xchacha20_xor_ic ( #[ \SensitiveParameter ] string $mes ... , #[ \SensitiveParameter ] string $key ): string この関数は、 sodium_crypto_stream_xchacha20_xor() に似ていますが、ブロックカウンタの初期値を非ゼロの値に設定する機能が追加されています。 これによって、以前の値を計算せずに直接任意のブロックにアクセスすること ... rypto_auth() を使うことが考えられます。 パラメータ message 暗号化するメッセージ。 nonce 24バイトの nonce。 counter ブロックカウンタの初期値。 key 暗号化キー。 sodium_crypto_stream_xchacha20_keygen() で生成されたものです。 戻り値 暗号化されたメッセージを返 ...
https://man.mtool.work/php/8.3/function.sodium-crypto-stream-xchacha20-xor-ic.ht...
ReflectionMethod::__construct — ReflectionMethod を作成する | PHP 8.3 9038
ReflectionMethod::__construct (PHP 5, PHP 7, PHP 8) ReflectionMethod::__construct — ReflectionMethod を作成する 説明 public function ReflectionMethod::__construct ( object | string $objectOrMethod , string $method ) 代替のシグネチャ (名前付 ... onException が発生します。 例 例1 ReflectionMethod::__construct() の例 <?php class Counter { private static $c = 0 ; /** * カウンタをインクリメントする * * @final * @static * @access public * @return int */ final public static function increment () { retu ... /Users/philip/cvs/phpdoc/test.php lines 14 to 17 having the modifiers 261[final public static] ---> Documentation: '/** * カウンタをインクリメントする * * @final * @static * @access public * @return int */' ---> Invocation results in: int(1) 参考 Reflect ...
https://man.mtool.work/php/8.3/reflectionmethod.construct.html
Ev::iteration — デフォルトのイベントループが新しいイベントをポーリングした回数... 8454
Ev::iteration (PECL ev >= 0.2.0) Ev::iteration — デフォルトのイベントループが新しいイベントをポーリングした回数を返す 説明 final public static function Ev::iteration (): int デフォルトのイベントループが新しいイベントをポーリングした回数を返 ... します。 生成カウンターとして有用です。 パラメータ この関数にはパラメータはありません。 戻り値 デフォルトのイベントループのポーリング回数を返しま ...
https://man.mtool.work/php/8.3/ev.iteration.html
win32_create_service — SCM データベースに新しいサービスのエントリを作成する | P... 7977
win32_create_service (PECL win32service >=0.1.0) win32_create_service — SCM データベースに新しいサービスのエントリを作成する 説明 function win32_create_service ( array $details , string $machine = null ): void SCM データベースに新しいサービ ... covery action で定義された定数のうちのひとつを設定できます。 recovery_reset_period ここで定義された時間が経過すると、失敗のカウンタがリセットされます。 秒単位で設定します。 デフォルト値は 86400 です。 recovery_enabled リカバリ設定を有効にする場合は true を ... y_action_3' => WIN32_SC_ACTION_NONE , // その他の失敗時には何もしない 'recovery_reset_period' => 86400 , // 1日後には失敗のカウンタをリセット 'recovery_enabled' => true , // リカバリパラメータを有効にする 'recovery_reboot_msg' => null , // 不要ならリブート ...
https://man.mtool.work/php/8.3/function.win32-create-service.html
set_time_limit — 実行時間の最大値を制限する | PHP 8.3 7694
set_time_limit (PHP 4, PHP 5, PHP 7, PHP 8) set_time_limit — 実行時間の最大値を制限する 説明 function set_time_limit ( int $seconds ): bool スクリプトが実行可能な秒数を設定します。 この制限にかかるとスクリプトは致命的エラーを返します。 デフ ... なお、 php.ini で max_execution_time の 値が定義されている場合にはそれを用います。 この関数がコールされた場合、 タイムアウトカウンタをゼロから再スタートします。 言いかえると、タイムアウトがデフォルトの 30 秒で スクリプト実行までに 25 秒かかる場合に、 set_t ...
https://man.mtool.work/php/8.3/function.set-time-limit.html
外部から来る変数 | PHP 8.3 6915
外部から来る変数 HTML フォーム (GET と POST) フォームが PHP スクリプトに投稿された時、フォームから渡された全て の変数は PHP により自動的にスクリプトから使用可能となります。 この情報にアクセスする手段は複数あります。例を以下に示します。 例1 ... クッキーをブラウザ上の同じ名前の変数に置き換えることに 注意してください。 さて、買い物かご(Shopping Cart) プログラムの場合、カウンタを保持し、 受け渡したいと思うかもしれません。 これは、次のようになります。 例4 setcookie() の例 <?php if (isset( $_COOKIE [ ...
https://man.mtool.work/php/8.3/language.variables.external.html
PREV 1 2 NEXT