PHP similar_text() May 22, 2012 Pramod T P It calculates the similarity between two strings Example <?php echo similar_text(“phpcode”,”phpcodez”); ?> Output 7