开发者

Comparing ICU sort keys (collator_get_sort_key) in PHP

Is strcmp() appropriate for comparing ICU collator sort ke开发者_开发百科ys in PHP?

The sort keys I'm asking about are from collator_get_sort_key() which are described in ICU documentation.


strcmp can be used if indeed it is just a binary comparison of the null terminated value.

http://userguide.icu-project.org/collation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜