« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for locales (0.003 sec.)
ResourceBundle::getLocales — サポートするロケールを取得する | PHP 8.3 12965
ResourceBundle::getLocales resourcebundle_locales (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 2.0.0) ResourceBundle::getLocales -- resourcebundle_locales — サポートするロケールを取得する 説明 オブジェクト指向型 public static function Resour ... ceBundle::getLocales ( string $bundle ): array | false 手続き型 function resourcebundle_locales ( string $bundle ): array | false ResourceBundl ... きます。 戻り値 このバンドルがサポートするロケールの一覧を返します。 失敗した場合は false を返します。 例 例1 resourcebundle_locales() の例 <?php $bundle = "/user/share/data/myapp" ; echo join ( PHP_EOL , resourcebundle_locales ( $bundle )); ?> 上の例の出 ... ト指向の例 <?php $bundle = "/usr/share/data/myapp" ; $r = new ResourceBundle ( 'es' , $bundle ); echo join ( "\n" , $r -> getLocales ( $bundle )); ?> 上の例の出力は、 たとえば以下のようになります。 es root 参考 resourcebundle_get() - バンドルからデータを取 ...
https://man.mtool.work/php/8.3/resourcebundle.locales.html
setlocale — ロケール情報を設定する | PHP 8.3 11780
setlocale (PHP 4, PHP 5, PHP 7, PHP 8) setlocale — ロケール情報を設定する 説明 function setlocale ( int $category , ? string $locales , string ...$rest ): string | false 代替のシグネチャ (名前付き引数をサポートしていません): function setloc ... strftime() でフォーマットに使用 LC_MESSAGES システムの応答用(PHP が libintl とともにコンパイルされている場合のみ使用可能) locales locales が空の文字列 "" または null の場合、 ロケール名は上記のカテゴリと同じ名前の環境変数の値、 または環境変数 "LANG" か ... らセットされます。 locales が "0" の場合、 ロケール設定は適用されず、単に現在の設定が返されます。 locales に追加のパラメータが続く場合、 それぞれのパ ... HP が実行されているシステムに依存します。 システムの setlocale 関数が返す値を返すためです。 変更履歴 バージョン 説明 8.5.0 locales 引数に整数 0 を渡すことはサポートされなくなり、 TypeError がスローされるようになりました。 例 例1 setlocale() の例 <?php / ...
https://man.mtool.work/php/8.3/function.setlocale.html
Spoofchecker::setAllowedLocales — チェック時に使うロケールを設定する | PHP 8.3 10453
Spoofchecker::setAllowedLocales (PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0) Spoofchecker::setAllowedLocales — チェック時に使うロケールを設定する 説明 public function Spoofchecker::setAllowedLocales ( string $locales ): void 警告 この ... 関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラメータ locales 戻り値 他のマニュアルの関連ページ Linux JM MB_LEN_MAX(3) Linux JM MB_CUR_MAX(3) Linux JM locale(1) Linux JM strcoll(3) Lin ...
https://man.mtool.work/php/8.3/spoofchecker.setallowedlocales.html
IntlCalendar::getAvailableLocales — データが存在するロケールの配列を取得する | ... 8384
IntlCalendar::getAvailableLocales (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getAvailableLocales — データが存在するロケールの配列を取得する 説明 オブジェクト指向型 public static function IntlCalendar::getAvailableLocales ... (): array 手続き型 function intlcal_get_available_locales (): array カレンダーがインストールされているロケールのリストを返します。 ICU 51 以降では、 インストールされている全ての IC ... ラメータはありません。 戻り値 文字列の配列を返します。 ひとつひとつが、ロケールを示します。 例 例1 IntlCalendar::getAvailableLocales() <?php print_r ( IntlCalendar :: getAvailableLocales ()); 上の例の出力は以下となります。 Array ( [0] => af [1] => af_NA [ ...
https://man.mtool.work/php/8.3/intlcalendar.getavailablelocales.html
Backward Incompatible Changes | PHP 8.3 8171
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 ... ValueError when a locale name contains NUL bytes, instead of silently truncating it. Arrays are now accepted only for the locales argument. Passing an array as a later variadic locale argument now throws a TypeError . Passing any additional locale argu ... ments when locales is an array now throws an ArgumentCountError . The following functions now raise a ValueError when the filename argument c ...
https://man.mtool.work/php/8.3/migration86.incompatible.html
Spoofchecker クラス | PHP 8.3 8065
Spoofchecker クラス (PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0) はじめに Unicode は非常にたくさんの文字と、 世界中の様々な表記体系を含んでいます。 そのため使い方を誤ると、 文字の類似性を利用して、 プログラムやシステムに対するセキュリ ... null ): bool public function setAllowedChars ( string $pattern , int $patternOptions = 0 ): void public function setAllowedLocales ( string $locales ): void public function setChecks ( int $checks ): void public function setRestrictionLevel ( int $level ... まれていないかをチェックする Spoofchecker::setAllowedChars — チェック時に許可する文字集合を設定する Spoofchecker::setAllowedLocales — チェック時に使うロケールを設定する Spoofchecker::setChecks — 実行するチェックを設定する Spoofchecker::setRestrictionLeve ...
https://man.mtool.work/php/8.3/class.spoofchecker.html
Pdo\Dblib クラス | PHP 8.3 7959
Pdo\Dblib クラス (PHP 8 >= 8.4.0) はじめに DBLib PDO ドライバによる接続を示す PDO サブクラスです。 クラス概要 namespace Pdo ; class Dblib extends PDO { /* 継承した定数 */ public const int PDO::PARAM_NULL ; public const int PDO::PARAM_BOOL = ... すフォーマット (つまり "2017-10-27 10:22:44" )の文字列として返します。 true の場合、PDO_DBLIB は datetime 型を、FreeTDS の locales.conf ファイルで指定された、ユーザー定義の フォーマットあるいはロケールのフォーマットを使って文字列に変換します。 デフォルト ...
https://man.mtool.work/php/8.3/class.pdo-dblib.html
Other Changes | PHP 8.3 7835
Other Changes Core changes Core In case of a hard OOM (out of memory) condition, PHP now calls abort() instead of exit(1) , changing the exit code to 134 and possibly creating a core dump. The PHP_OS_FAMILY constant has an AIX value for whe ... performance of imagegrabscreen() and imagegrabwindow() on Windows. Intl Improved performance of IntlCalendar::getAvailableLocales() and IntlDateFormatter::localtime() / datefmt_localtime() by pre-allocating their returned arrays. Improved performance o ... f transliterator_list_ids() and resourcebundle_locales() by pre-allocating their returned arrays. Optimized callback invocation in IntlChar::enumCharTypes() . JSON Improved perf ...
https://man.mtool.work/php/8.3/migration86.other-changes.html
Deprecated Features | PHP 8.3 7729
Deprecated Features PHP Core Using "namespace" as a class constant name Declaring a class constant named namespace is now deprecated. namespace is a semi-reserved keyword, and the name is being reserved for possible future syntax such as a ... via setlocale() that any library can change, it is not binary safe unlike every other string comparison function, and some locales do not implement correct collation rules. Use Collator::compare() from the intl extension instead, which is accurate and h ...
https://man.mtool.work/php/8.3/migration86.deprecated.html
変更履歴 | PHP 8.3 7623
変更履歴 この拡張モジュールのクラス/関数/メソッドには次のような変更がありました。 Version Function Description 8.5.0 chr [0, 255] の範囲外の整数を渡すことは非推奨になりました。 fprintf 精度を指定しないフォーマッタを使った場合、 精度を 0 とし ... 場合、 精度を 0 として正しく扱うようになりました。 これより前のバージョンでは、誤って精度をリセットしていました。 setlocale locales 引数に整数 0 を渡すことはサポートされなくなり、 TypeError がスローされるようになりました。 sprintf 精度を指定しないフォーマ ...
https://man.mtool.work/php/8.3/changelog.strings.html
PREV 1 2 NEXT