Is strcmp()
appropriate for comparing ICU collator sort keys in PHP?
The sort keys I'm asking about are from collator_get_sort_key()
which are described in ICU documentation.
Is strcmp()
appropriate for comparing ICU collator sort keys 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.