« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for getSortKey (0.003 sec.)
Collator::getSortKey — 文字列のソート用のキーを取得する | PHP 8.3 12740
Collator::getSortKey collator_get_sort_key (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 1.0.3) Collator::getSortKey -- collator_get_sort_key — 文字列のソート用のキーを取得する 説明 オブジェクト指向型 public function Collator::getSortKey ( st ... coll , $s1 ); echo bin2hex ( $res ); ?> 上の例の出力は、 たとえば以下のようになります。 3832404046010901dc08 例2 Collator::getSortKey() を usort() と一緒に使う例 <?php $data = [ [ 'name' => '?? Derick Rethans' , 'linked_account' => 'https://phpc.social/use ... [ 'name' ])); $bName = trim ( preg_replace ( '/\p{S}+/u' , '' , $b [ 'name' ])); /* Create the sort key */ $aKey = $col -> getSortKey ( $aName ); $bKey = $col -> getSortKey ( $bName ); /* Use the sort key to signal which element sorts first */ return $aKey ...
https://man.mtool.work/php/8.3/collator.getsortkey.html
Collator::sortWithSortKeys — 指定した collator とキーで配列を並べ替える | PHP 8... 8898
Collator::sortWithSortKeys collator_sort_with_sort_keys (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) Collator::sortWithSortKeys -- collator_sort_with_sort_keys — 指定した collator とキーで配列を並べ替える 説明 オブジェクト指向型 publi ... き型 function collator_sort_with_sort_keys ( Collator $object , array &$array ): bool collator_sort() と似ていますが、 ucol_getSortKey() が作成した ICU ソートキーを用いることで 大きな配列をより高速に処理できます。 パラメータ object Collator オブジェクト。 a ...
https://man.mtool.work/php/8.3/collator.sortwithsortkeys.html
Collator クラス | PHP 8.3 8677
Collator クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) はじめに 各ロケール固有の並び順を考慮した文字列の比較機能を提供します。 クラス概要 class Collator { /* 定数 */ public const int DEFAULT_VALUE ; public const int PRIMARY ; pu ... public function getErrorMessage (): string | false public function getLocale ( int $type ): string | false public function getSortKey ( string $string ): string | false public function getStrength (): int public function setAttribute ( int $attribute , int ... essage — collator の直近のエラーコードのテキストを取得する Collator::getLocale — collator のロケール名を取得する Collator::getSortKey — 文字列のソート用のキーを取得する Collator::getStrength — 現在の照合強度を取得する Collator::setAttribute — 照合用の属性を ...
https://man.mtool.work/php/8.3/class.collator.html
国際化関数 | PHP 8.3 7850
国際化関数 はじめに 国際化用拡張モジュール (これ以降では Intl と略します) は » ICU ライブラリのラッパーです。 PHP プログラマが、ロケール関連のさまざまな操作を行えるようにします。 フォーマット、音訳、エンコード変換、カレンダーの処理、 » UCA ... essage — collator の直近のエラーコードのテキストを取得する Collator::getLocale — collator のロケール名を取得する Collator::getSortKey — 文字列のソート用のキーを取得する Collator::getStrength — 現在の照合強度を取得する Collator::setAttribute — 照合用の属性を ...
https://man.mtool.work/php/8.3/book.intl.html
関数・メソッド | PHP 8.3 7740
関数・メソッド マニュアル内の全関数およびメソッドの一覧 a b c d e f g h i j k l m n o p q r s t u v w x y z _ a abs - 絶対値 acos - 逆余弦(アークコサイン) acosh - 逆双曲線余弦(アークハイパボリックコサイン) addcslashes - C 言語と同様にス ... essage - collator の直近のエラーコードのテキストを取得する Collator::getLocale - collator のロケール名を取得する Collator::getSortKey - 文字列のソート用のキーを取得する Collator::getStrength - 現在の照合強度を取得する Collator::setAttribute - 照合用の属性を ...
https://man.mtool.work/php/8.3/indexes.functions.html
PREV 1 NEXT