Source Code:
(back to article)
<?php $string1 = "Hello World"; $string2 = "hello world"; $result = strcasecmp($string1, $string2); if ($result == 0) { echo "The two strings are equal."; } else { echo "The two strings are not equal."; } ?>
Result:
Report an issue