PHP strnatcasecmp() May 22, 2012 Pramod T P It compares two strings using a “natural” algorithm. Example <?php echo strnatcasecmp(“PHPCode”,”PHPCodez”); ?> Output -1