代码编辑器:
x
1
2
setlocale (LC_COLLATE, 'NL');
3
echo strcoll("Hello World!","Hello World!");
4
echo "<br>";
5
setlocale (LC_COLLATE, 'en_US');
6
echo strcoll("Hello World!","Hello World!");
7
setlocale (LC_COLLATE, 'NL');
echo strcoll("Hello World!","Hello World!");
echo "<br>";
setlocale (LC_COLLATE, 'en_US');
echo strcoll("Hello World!","Hello World!");