Collator::getSortKey
collator_get_sort_key
Get sorting key for a string
&reftitle.description;
Object oriented style
string
Collator::getSortKey
stringstr
Procedural style
string
collator_get_sort_key
Collatorcoll
stringstr
Return collation key for a string.
&reftitle.parameters;
coll
Collator object.
str
The string to produce the key from.
&reftitle.returnvalues;
Returns the collation key for the string. Collation keys can be compared directly instead of strings.
&return.falseproblem;
&reftitle.examples;
collator_get_sort_keyexample
]]>
&example.outputs;
71%3F%3FE%01%09%01%8F%08%00
&reftitle.seealso;
collator_sort
collator_sort_with_sort_keys