PHP string levenshtein() Function
PHP string levenshtein() function is in-built function. It is used to calculate the distance between two strings. By default, PHP provides some operations (replace, insert and delete)
It returns the Levenshtein distance between the two argument strings or -1, if the string exceeds 255 characters.
Note: The levenshtein() function is not case-sensitive language.