Results of 1 - 1 of about 1 for aName (0.001 sec.)
- Collator::getSortKey — 文字列のソート用のキーを取得する | PHP 8.3 9414
- 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
... unction( $a , $b ) use ( $col ) { /* Remove the character class 'S' (the Symbols), and remove whitespace * (with trim) */ $aName = trim ( preg_replace ( '/\p{S}+/u' , '' , $a [ '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 <=> $bKe ...
-
https://man.mtool.work/php/8.3/collator.getsortkey.html
PREV
1
NEXT