I have 5000, sometimes more, street address strings in an array. I\'d like to compare them all with levenshtein to find similar matches. How can I do this without looping throug
I think you cannot avoid looping through the array as the levenstein() function takes only strings and not an array as input.
You can do something like:
for($i=0;$i