Results of 1 - 10 of about 79 for スカラー (0.005 sec.)
- 値に依存した列挙型(Backed Enum) | PHP 8.3 14409
- 値に依存した列挙型(Backed Enum) デフォルトでは、列挙型の case はスカラー値の情報を持っていません。 単なるシングルトンオブジェクトです。 しかし、列挙型の case をデータベースや、 類似のデータストアで読み書きする必要があるケースが多くあります。
... よって、ビルトインの (容易にシリアライズできる) スカラー値を列挙型の中で定義すると便利です。 列挙型にスカラー値を定義するには、以下のようにします: <?php enum Suit : string { case H ... earts = 'H' ; case Diamonds = 'D' ; case Clubs = 'C' ; case Spades = 'S' ; } スカラー値を持つ case を、"Backed Case" と呼びます。 なぜなら、オブジェクトよりもシンプルな値に依存して(Backed)いるからです。 全ての ... 一度に持つことの出来る型はひとつだけです (つまり、 int|string のような union 型はサポートしていないということです)。 列挙型がスカラー情報を持つとマークすると、 全ての case はユニークなスカラーの値を明示的に定義しなければいけません。 自動生成されるスカラー値 ...
-
https://man.mtool.work/php/8.3/language.enumerations.backed.html
- is_scalar — 変数がスカラー値かどうかを調べる | PHP 8.3 10247
- is_scalar (PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8) is_scalar — 変数がスカラー値かどうかを調べる 説明 function is_scalar ( mixed $value ): bool 指定した 式 がスカラー値として評価されるかを調べます。 詳細は スカラー型 を参照ください。 注意 : リソ
... ース型は現在整数に基づく抽象型であるため、 is_scalar() は resource 型の値を スカラー値と判定しません。この実装の詳細は変更される可能性があるため、 前堤にするべきではありません。 注意 : is_scalar() は、NULL を ... スカラーとは見なしません。 パラメータ value 評価する変数。 戻り値 value がスカラーの場合に true 、 それ以外の場合に false を返します。 例 例1 is_scalar() の例 <?php function show_var ( $var ) { if ( is_scal ...
-
https://man.mtool.work/php/8.3/function.is-scalar.html
- sodium_crypto_core_ristretto255_scalar_sub — スカラー値を減らす | PHP 8.3 10068
- sodium_crypto_core_ristretto255_scalar_sub (PHP 8 >= 8.1.0) sodium_crypto_core_ristretto255_scalar_sub — スカラー値を減らす 説明 function sodium_crypto_core_ristretto255_scalar_sub ( string $x , string $y ): string x から スカラー値 y を減ら
... 降で利用可能です。 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ x スカラー値。 X座標を表します。 y スカラー値。 Y座標を表します。 戻り値 32バイト長のランダムな文字列を返します。 例 例1 sodium_crypto ... 参考 sodium_crypto_core_ristretto255_scalar_random() - ランダムな鍵を生成する sodium_crypto_core_ristretto255_scalar_add() - スカラー値を追加する 他のマニュアルの関連ページ Linux JM core(5) Python crypto DuckDB Functions Linux JM skill(1) Linux JM snice(1) ...
-
https://man.mtool.work/php/8.3/function.sodium-crypto-core-ristretto255-scalar-s...
- sodium_crypto_core_ristretto255_scalar_mul — スカラー値を乗算する | PHP 8.3 9793
- sodium_crypto_core_ristretto255_scalar_mul (PHP 8 >= 8.1.0) sodium_crypto_core_ristretto255_scalar_mul — スカラー値を乗算する 説明 function sodium_crypto_core_ristretto255_scalar_mul ( string $x , string $y ): string スカラー値を乗算します。
... 降で利用可能です。 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ x スカラー値。 X座標を表します。 y スカラー値。 Y座標を表します。 戻り値 32バイト長のランダムな文字列を返します。 参考 sodium_crypto_c ...
-
https://man.mtool.work/php/8.3/function.sodium-crypto-core-ristretto255-scalar-m...
- sodium_crypto_core_ristretto255_scalar_add — スカラー値を追加する | PHP 8.3 9162
- sodium_crypto_core_ristretto255_scalar_add (PHP 8 >= 8.1.0) sodium_crypto_core_ristretto255_scalar_add — スカラー値を追加する 説明 function sodium_crypto_core_ristretto255_scalar_add ( string $x , string $y ): string 要素 y を x に追加します
... 降で利用可能です。 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ x スカラー値。 X座標を表します。 y スカラー値。 Y座標を表します。 戻り値 32バイト長のランダムな文字列を返します。 例 例1 sodium_crypto ... 参考 sodium_crypto_core_ristretto255_scalar_random() - ランダムな鍵を生成する sodium_crypto_core_ristretto255_scalar_sub() - スカラー値を減らす 他のマニュアルの関連ページ Linux JM core(5) Python crypto DuckDB Functions Linux JM snice(1) Linux JM skill(1) Du ...
-
https://man.mtool.work/php/8.3/function.sodium-crypto-core-ristretto255-scalar-a...
- sodium_crypto_core_ristretto255_scalar_reduce — スカラー値を縮小する | PHP 8.3 8791
- sodium_crypto_core_ristretto255_scalar_reduce (PHP 8 >= 8.1.0) sodium_crypto_core_ristretto255_scalar_reduce — スカラー値を縮小する 説明 function sodium_crypto_core_ristretto255_scalar_reduce ( string $s ): string スカラー値を縮小します。 l
... 降で利用可能です。 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ s スカラー値 戻り値 32バイト長のランダムな文字列を返します。 参考 sodium_crypto_core_ristretto255_scalar_random() - ランダムな鍵を生成 ...
-
https://man.mtool.work/php/8.3/function.sodium-crypto-core-ristretto255-scalar-r...
- ReflectionEnumBackedCase::getBackingValue — Backed Enum の case が持つスカラー... 8708
- ReflectionEnumBackedCase::getBackingValue (PHP 8 >= 8.1.0) ReflectionEnumBackedCase::getBackingValue — Backed Enum の case が持つスカラー値を取得する 説明 public function ReflectionEnumBackedCase::getBackingValue (): int | string Backed Enu
... m の case が持つスカラー値を取得します。 パラメータ この関数にはパラメータはありません。 戻り値 この列挙型の case が持つスカラーの値を返します。 例 ...
-
https://man.mtool.work/php/8.3/reflectionenumbackedcase.getbackingvalue.html
- 構文 | PHP 8.3 8475
- 構文 const キーワードか、 define() 関数を使うことで、定数を宣言することが出来ます。 define() を使えば任意の式を使って定数を定義できますが、 const キーワードを使う場合には、 次の段落で説明する制約があります。 定数が一度定義されると、 変更また
... は未定義とすることはできません。 const キーワードで定数に指定できるのは、スカラー式 ( bool , int , float , string ) と、 スカラー式だけを含んだ array の定数です。 resource の定数を指定することもできますが、 ... 規則に関係なく、あら ゆる場所からアクセス可能です。 定数は一度設定されると再定義または未定義とすることはできません。 定数は、スカラー値と配列としてのみ評価可能です。 例1 定数の定義 <?php define ( "CONSTANT" , "Hello world." ); echo CONSTANT ; // "Hello worl ... " // PHP 8.0.0 より前のバージョンでは、"Constant" を出力し、警告が発生 例2 const キーワードによる定数の定義 <?php // 単純なスカラー値 const CONSTANT = 'Hello World' ; echo CONSTANT . "\n" ; // スカラー式 const ANOTHER_CONST = CONSTANT . '; Goodbye World' ...
-
https://man.mtool.work/php/8.3/language.constants.syntax.html
- sodium_crypto_core_ristretto255_scalar_invert — スカラー値を反転させる | PHP 8.... 8337
- sodium_crypto_core_ristretto255_scalar_invert (PHP 8 >= 8.1.0) sodium_crypto_core_ristretto255_scalar_invert — スカラー値を反転させる 説明 function sodium_crypto_core_ristretto255_scalar_invert ( string $s ): string スカラー値を反転させます
... 降で利用可能です。 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ s スカラー値。 戻り値 32バイトのランダムな文字列を返します。 例 例1 sodium_crypto_core_ristretto255_scalar_invert() の例 <?php $foo = ...
-
https://man.mtool.work/php/8.3/function.sodium-crypto-core-ristretto255-scalar-i...
- sodium_crypto_core_ristretto255_scalar_negate — スカラー値の論理否定を行う | PH... 8337
- sodium_crypto_core_ristretto255_scalar_negate (PHP 8 >= 8.1.0) sodium_crypto_core_ristretto255_scalar_negate — スカラー値の論理否定を行う 説明 function sodium_crypto_core_ristretto255_scalar_negate ( string $s ): string スカラー値の論理否定
... 降で利用可能です。 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ s スカラー値。 戻り値 32バイト長のランダムな文字列を返します。 例 例1 sodium_crypto_core_ristretto255_scalar_negate() の例 <?php $foo ...
-
https://man.mtool.work/php/8.3/function.sodium-crypto-core-ristretto255-scalar-n...