Source Code:
(back to article)
<?php $string1 = "Hello"; $string2 = "World"; $distance = levenshtein($string1, $string2); echo $distance; ?>
Result:
Report an issue