<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>
<!-- Mirrored from www.w3schools.com/php7/phptryit.asp?filename=tryphp_func_string_strcoll by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:41:48 GMT -->
</html>