PHP strncasecmp() May 23, 2012 Pramod T P It compares two strings Example <?php echo strncasecmp(“phpcode”,”codez”,7); ?> Output 13