Edit report at https://bugs.php.net/bug.php?id=17617&edit=1
ID: 17617 Updated by: maar...@php.net Reported by: gonfidentschal at hotmail dot com Summary: levenshtein() param for faster return -Status: Open +Status: Wont fix Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: all PHP Version: 4.1.2 Block user comment: N Private report: N New Comment: No response in 11 years, so safe to conclude that there's little interest in this feature. Also a very good change issue starter also has moved on (other project / chosen better algorithm). Previous Comments: ------------------------------------------------------------------------ [2002-06-05 18:33:57] gonfidentschal at hotmail dot com in my case, i want to find strings that are similar to a given one. so a lev() return of >2 means i throw that string away. maybe another param to levenshtein() could help speed up the function, in that it could return when the 3rd mismatch was found. it would not have to do it's job to the end. anyway, i'm surprised how fast it is already. :) greetings fab ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=17617&edit=1