mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
added function "int levdist(string str1, string str2)"
that will calculate the Levenshtein distance between two strings (faster and possibly more accurate than similar_text())
This commit is contained in:
parent
6d51f4a788
commit
0eb51100b7
4 changed files with 120 additions and 1 deletions
|
@ -162,6 +162,7 @@ function_entry basic_functions[] = {
|
|||
PHP_FE(implode, NULL)
|
||||
PHP_FE(setlocale, NULL)
|
||||
PHP_FE(soundex, NULL)
|
||||
PHP_FE(levdist, NULL)
|
||||
PHP_FE(chr, NULL)
|
||||
PHP_FE(ord, NULL)
|
||||
PHP_FE(parse_str, NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue