levenshtein

PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
levenshtein - Calculate Levenshtein distance between two strings

Example #1 levenshtein example

Result: Input word: carrrot Did you mean: carrot?
PHP Version:


Example #2 of levenshtein

PHP Version:


Function levenshtein:

Strings Functions

Most used PHP functions