summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-05-23 14:10:37 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-05-23 14:10:37 +0000
commit0eb51100b77996efbf0a728efe55ded996814025 (patch)
tree71eb143f99970ae6ffb284b12cec19719de30975 /ext/standard/php_string.h
parent6d51f4a78879d5160999f7b7ed6094bad89acdaf (diff)
downloadphp-git-0eb51100b77996efbf0a728efe55ded996814025.tar.gz
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())
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r--ext/standard/php_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h
index e71cf8f997..537c405fe7 100644
--- a/ext/standard/php_string.h
+++ b/ext/standard/php_string.h
@@ -43,6 +43,7 @@ PHP_FUNCTION(chop);
PHP_FUNCTION(trim);
PHP_FUNCTION(ltrim);
PHP_FUNCTION(soundex);
+PHP_FUNCTION(levdist);
PHP_FUNCTION(count_chars);
PHP_FUNCTION(explode);