<html>
<body>
echo strcasecmp("Hello world!","HELLO WORLD!")."<br>"; // The two strings are equal
echo strcasecmp("Hello world!","HELLO")."<br>"; // String1 is greater than string2
echo strcasecmp("Hello world!","HELLO WORLD! HELLO!")."<br>"; // String1 is less than string2
</body>
<!-- /php/phptryit.asp?filename=tryphp_func_string_strcasecmp3 Thu, 06 Feb 2025 19:27:08 GMT -->
</html>