PHP Missing Methods & Levenshtein Distance
I’m just going to leave this nifty little PHP snippet here, and recommend against it’s use. It could very well be shorter and more concise, probably a bit more performant too, but it works: View the code on Gist. It also encourages bad practices and ambiguity ( should elngth be mapped on to length1 or […]