PHP strcasecmp() May 22, 2012 Pramod T P It compares two strings (case-insensitive) Example <?php if (strcasecmp(“phpcode”, “PHPCode”) == 0) { echo ‘Strings are equal’; } ?> Output Strings are equal