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