<html>
<body>
setlocale (LC_COLLATE, 'NL');
echo strcoll("Hello World!","Hello World!");
echo "<br>";
setlocale (LC_COLLATE, 'en_US');
echo strcoll("Hello World!","Hello World!");
<p>If this function returns 0, the two strings are equal.</p>
</body>
</html>
If this function returns 0, the two strings are equal.