PHP string similar_text() Function
The string similar_text() function is in-built PHP function. It is used to calculates the similarity between two strings in percent.
Note: The Levenshtein() function is faster than similar_text() function. It will give us more accurate result.