Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Comparaison de chaines unicode
- */
- if (!function_exists('mb_strcmp')) {
- function mb_strcmp($s1, $s2) {
- return strcmp(
- iconv('UTF-8', 'ISO-8859-1//TRANSLIT', $s1),
- iconv('UTF-8', 'ISO-8859-1//TRANSLIT', $s2));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement