« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 131 for 理由 (0.001 sec.)
列挙型が継承できない理由 | PHP 8.3 10507
列挙型が継承できない理由 クラスは、メソッドの使い方を約束(契約)するものです: <?php class A {} class B extends A {} function foo ( A $a ) {} function bar ( B $b ) { foo ( $b ); } 上のコードは型安全といえます。なぜなら、 B は A との契約を守っ ... ないということです。 なぜなら、 MoreErrorCode::PEBKAC がカバーされていないので、match 式が例外をスローするからです。 こうした理由から、列挙型は final 扱いであり、継承できなくなっています。 他のマニュアルの関連ページ Python enum Python enum FastAPI パスパ ...
https://man.mtool.work/php/8.3/language.enumerations.object-differences.inherita...
列挙型(Enum) | PHP 8.3 8942
列挙型(Enum) 目次 列挙型の概要 列挙型の基礎 値に依存した列挙型(Backed Enum) 列挙型とメソッド 列挙型と static メソッド 列挙型と定数 トレイト 定数式における列挙型の値 オブジェクトとの違い 値のリスト 列挙型をシリアライズする 列挙型が継承できな ... い理由 例 他のマニュアルの関連ページ Python enum Python enum FastAPI パスパラメータ Python http Django fields DuckDB Enum Data Ty ...
https://man.mtool.work/php/8.3/language.enumerations.html
UConverter::reasonText — コールバックの理由を表す文字列を取得する | PHP 8.3 8942
UConverter::reasonText (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) UConverter::reasonText — コールバックの理由を表す文字列を取得する 説明 public static function UConverter::reasonText ( int $reason ): string 警告 この関数は、 現在のとこ ...
https://man.mtool.work/php/8.3/uconverter.reasontext.html
sodium_crypto_pwhash — Argon2 アルゴリズムを使い、パスワードからキーを導出する ... 8554
sodium_crypto_pwhash (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_pwhash — Argon2 アルゴリズムを使い、パスワードからキーを導出する 説明 function sodium_crypto_pwhash ( int $length , #[ \SensitiveParameter ] string $password , string $salt , int $o ... DEFAULT ): string この関数は、 libsodium の crypto_pwhash 派生関数への低レベルのアクセスを提供します。 この関数を使う明確な理由がなければ、 sodium_crypto_pwhash_str() や password_hash() 関数を代わりに使うべきです。 この関数を使う共通の理由は、 パスワー ...
https://man.mtool.work/php/8.3/function.sodium-crypto-pwhash.html
radius_demangle — データを復元する | PHP 8.3 8165
radius_demangle (PECL radius >= 1.2.0) radius_demangle — データを復元する 説明 function radius_demangle ( resource $radius_handle , string $mangled ): string セキュリティ上の理由により、(パスワード、MS-CHAPv1 MPPE キーなど) いくつかのデータ ...
https://man.mtool.work/php/8.3/function.radius-demangle.html
列挙型と static メソッド | PHP 8.3 8165
列挙型と static メソッド 列挙型は、static メソッドを持つこともできます。 列挙型で static メソッドを使う主な理由は、 コンストラクタの代わりをさせるためです。たとえば、以下のようなものです: <?php enum Size { case Small ; case Medium ; case La ...
https://man.mtool.work/php/8.3/language.enumerations.static-methods.html
streamWrapper::stream_stat — ファイルリソースについての情報を取得する | PHP 8.3 8165
streamWrapper::stream_stat (PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8) streamWrapper::stream_stat — ファイルリソースについての情報を取得する 説明 public function streamWrapper::stream_stat (): array | false このメソッドは、 fstat() に対応してコー ... メータ この関数にはパラメータはありません。 戻り値 stat() を参照ください。 エラー / 例外 このメソッドのコールに (未実装などの理由で) 失敗した場合、 E_WARNING を発行します。 参考 stat() - ファイルに関する情報を取得する streamwrapper::url_stat() - ファイル ...
https://man.mtool.work/php/8.3/streamwrapper.stream-stat.html
DateInvalidOperationException クラス | PHP 8.3 7777
DateInvalidOperationException クラス (PHP 8 >= 8.3.0) はじめに サポートされていない操作が行われた場合に、 DateTimeImmutable::sub() と DateTime::sub() がスローします。 サポートされていない操作の例として、 next weekday のような相対時間を表現す ... る DateInterval を使った場合が挙げられます。 サポートされない理由は、論理的に逆の式が構築できないからです。 クラス概要 class DateInvalidOperationException extends DateException { /* 継承した ...
https://man.mtool.work/php/8.3/class.dateinvalidoperationexception.html
Random\BrokenRandomEngineError クラス | PHP 8.3 7777
Random\BrokenRandomEngineError クラス (PHP 8 >= 8.2.0) はじめに たとえば、生成される値がとても強く偏っているなどの理由で、 使っている Random\Engine が壊れていることを示します。 クラス概要 namespace Random ; class BrokenRandomEngineError ext ...
https://man.mtool.work/php/8.3/class.random-brokenrandomengineerror.html
enchant_broker_get_error — ブローカーの直近のエラーを返す | PHP 8.3 7777
enchant_broker_get_error (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 ) enchant_broker_get_error — ブローカーの直近のエラーを返す 説明 function enchant_broker_get_error ( EnchantBroker $broker ): string | false このブローカーで発生し ... 外の場合に false を返します。 エラー / 例外 broker が初期化されていないか、 enchant_broker_free() で既に解放されているなどの理由で使用できない場合、 ValueError がスローされます。 変更履歴 バージョン 説明 8.0.0 broker は、 EnchantBroker クラスのインスタ ...
https://man.mtool.work/php/8.3/function.enchant-broker-get-error.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT