« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 15 for fallback (0.002 sec.)
ResourceBundle::create — リソースバンドルを作成する | PHP 8.3 12295
ResourceBundle::create resourcebundle_create ResourceBundle::__construct (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::create -- resourcebundle_create -- ResourceBundle::__construct — リソースバンドルを作成する 説明 オブ ... ジェクト指向型 (メソッド) public static function ResourceBundle::create ( ? string $locale , ? string $bundle , bool $fallback = true ): ? ResourceBundle 手続き型 function resourcebundle_create ( ? string $locale , ? string $bundle , bool $fallback ... ブジェクト指向型 (コンストラクタ): public function ResourceBundle::__construct ( ? string $locale , ? string $bundle , bool $fallback = true ) リソースバンドルを作成します。 パラメータ locale リソースバンドルを読み込むロケール (en_CA などのロケール名)。 bu ... ndle データが格納されているディレクトリ、あるいは .dat ファイル名。 fallback ロケールを完全一致とするか、あるいは代替として親ロケールを使うことを許可するか。 戻り値 ResourceBundle オブジェクト、あるい ...
https://man.mtool.work/php/8.3/resourcebundle.create.html
ResourceBundle::get — バンドルからデータを取得する | PHP 8.3 11529
ResourceBundle::get resourcebundle_get (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::get -- resourcebundle_get — バンドルからデータを取得する 説明 オブジェクト指向型 public function ResourceBundle::get ( string | int $i ... ndex , bool $fallback = true ): ResourceBundle | array | string | int | null 手続き型 function resourcebundle_get ( ResourceBundle $bundle , str ... ing | int $index , bool $fallback = true ): ResourceBundle | array | string | int | null インデックスあるいは文字列キーを指定して、バンドルからデータを取得し ... ます。 パラメータ bundle ResourceBundle オブジェクト。 index データのインデックス。文字列あるいは整数値となります。 fallback ロケールが正確にマッチしなければ、 親のロケールにfallback することを許すかどうか 戻り値 指定したインデックスのデータ、ある ...
https://man.mtool.work/php/8.3/resourcebundle.get.html
DOMDocument::getElementsByTagNameNS — 指定した名前空間で、タグ名に対応するすべ... 10763
DOMDocument::getElementsByTagNameNS (PHP 5, PHP 7, PHP 8) DOMDocument::getElementsByTagNameNS — 指定した名前空間で、タグ名に対応するすべての要素を検索する 説明 public function DOMDocument::getElementsByTagNameNS ( ? string $namespace , stri ... mlns:xi="http://www.w3.org/2001/XInclude"> <title>Books of the other guy..</title> <para> <xi:include href="book.xml"> <xi:fallback> <error>xinclude: book.xml not found</error> </xi:fallback> </xi:include> <include> This is another namespace </include> < ... ', prefix: ' , $element -> prefix , "\n" ; } ?> 上の例の出力は以下となります。 local name: include, prefix: xi local name: fallback, prefix: xi 参考 DOMDocument::getElementsByTagName() - 指定したローカルタグ名に対応するすべての要素を検索する ...
https://man.mtool.work/php/8.3/domdocument.getelementsbytagnamens.html
New Features | PHP 8.3 9857
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) ... rRangeFormatter::COLLAPSE_NONE IntlNumberRangeFormatter::COLLAPSE_UNIT IntlNumberRangeFormatter::COLLAPSE_ALL The identity fallback is one of: IntlNumberRangeFormatter::IDENTITY_FALLBACK_SINGLE_VALUE IntlNumberRangeFormatter::IDENTITY_FALLBACK_APPROXIMAT ... ELY_OR_SINGLE_VALUE IntlNumberRangeFormatter::IDENTITY_FALLBACK_APPROXIMATELY IntlNumberRangeFormatter::IDENTITY_FALLBACK_RANGE Added SpoofChecker::areBidiConfusable() to check whether t ... . Setting PDO::ATTR_PREFETCH replaces the chunk size. Statements that are prepared with neither it nor PDO::ATTR_PREFETCH fall back to the value set on the connection. Requires libpq 17 or later. Phar Overriding the SplFileInfo::getMTime() and SplFileIn ...
https://man.mtool.work/php/8.3/migration86.new-features.html
ResourceBundle クラス | PHP 8.3 9700
ResourceBundle クラス (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) はじめに ローカライズしたソフトウェア製品には、 現在のロケールによって切り替えるデータのセットが必要となることがよくあります。 たとえばメッセージやラベル、書式パターン ... s IteratorAggregate , Countable { /* メソッド */ public function __construct ( ? string $locale , ? string $bundle , bool $fallback = true ) public function count (): int public static function create ( ? string $locale , ? string $bundle , bool $fallbac ... k = true ): ? ResourceBundle public function get ( string | int $index , bool $fallback = true ): ResourceBundle | array | string | int | null public function getErrorCode (): int public function getErrorMessag ...
https://man.mtool.work/php/8.3/class.resourcebundle.html
Yaconf::get — Retrieve a configuration value by name | PHP 8.3 9091
Yaconf::get (PECL yaconf >= 1.0.0) Yaconf::get — Retrieve a configuration value by name 説明 public static function Yaconf::get ( string $name , mixed $default = null ): mixed Retrieves the configuration value stored under name . Names use ... , the default is returned var_dump ( Yaconf :: get ( "app.missing" )); // NULL var_dump ( Yaconf :: get ( "app.missing" , "fallback" )); // string(8) "fallback" ?> 参考 Yaconf::has() - Check whether a configuration value exists Yaconf::__debug_info() - I ...
https://man.mtool.work/php/8.3/yaconf.get.html
DOMDocument::xinclude — DOMDocument オブジェクト内の XIncludes を置換する | PHP... 8777
DOMDocument::xinclude (PHP 5, PHP 7, PHP 8) DOMDocument::xinclude — DOMDocument オブジェクト内の XIncludes を置換する 説明 public function DOMDocument::xinclude ( int $options = 0 ): int | false このメソッドは、DOMDocument オブジェクト内の ... http://www.w3.org/2001/XInclude"> <title>Books of the other guy..</title> <para> <xi:include href="examples/book.xml"> <xi:fallback> <error>xinclude: book.xml not found</error> </xi:fallback> </xi:include> </para> </chapter> EOD; $dom = new DOMDocument ; ...
https://man.mtool.work/php/8.3/domdocument.xinclude.html
Backward Incompatible Changes | PHP 8.3 8011
Backward Incompatible Changes PHP Core By-reference foreach after array compaction By-reference foreach loops may now visit previously skipped elements after array compaction. Internal pointers on deleted elements now move to the next survi ... ead of silently truncating the length before passing it to ICU . ResourceBundle::get() and resourcebundle_get() now report fallback-disabled resource lookups with without fallback to locale instead of the malformed without fallback from to locale . IntlD ...
https://man.mtool.work/php/8.3/migration86.incompatible.html
intl_error_name — 指定したエラーコードに対応する名前を取得する | PHP 8.3 7854
intl_error_name (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) intl_error_name — 指定したエラーコードに対応する名前を取得する 説明 function intl_error_name ( int $errorCode ): string ICU のエラーコード名を返します。 パラメータ errorCode ... de , intl_error_name ( $err_code ) ); ?> 上の例の出力は、 たとえば以下のようになります。 Symbolic name for -128 is U_USING_FALLBACK_WARNING. 参考 intl_is_failure() - 指定したエラーコードが失敗を表すかどうかを調べる intl_get_error_code() - 直近のエラーコー ...
https://man.mtool.work/php/8.3/function.intl-error-name.html
intl_is_failure — 指定したエラーコードが失敗を表すかどうかを調べる | PHP 8.3 7854
intl_is_failure (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) intl_is_failure — 指定したエラーコードが失敗を表すかどうかを調べる 説明 function intl_is_failure ( int $errorCode ): bool パラメータ errorCode intl_get_error_code() や colla ... check ( $err_code ) { var_export ( intl_is_failure ( $err_code ) ); echo "\n" ; } check ( U_ZERO_ERROR ); check ( U_USING_FALLBACK_WARNING ); check ( U_ILLEGAL_ARGUMENT_ERROR ); ?> 上の例の出力は、 たとえば以下のようになります。 false false true 参考 in ...
https://man.mtool.work/php/8.3/function.intl-is-failure.html
PREV 1 2 NEXT