andrei Thu Dec 21 23:52:22 2006 UTC
Modified files:
/php-src/ext/standard levenshtein.c
Log:
levenshtein() already supported Unicode.
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/levenshtein.c?r1=1.42&r2=1.43&diff_format=u
Index: php-src/ext/standard/levenshtein.c
diff -u php-src/ext/standard/levenshtein.c:1.42
php-src/ext/standard/levenshtein.c:1.43
--- php-src/ext/standard/levenshtein.c:1.42 Fri Nov 24 21:54:41 2006
+++ php-src/ext/standard/levenshtein.c Thu Dec 21 23:52:22 2006
@@ -15,7 +15,7 @@
| Author: Hartmut Holzgraefe <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: levenshtein.c,v 1.42 2006/11/24 21:54:41 tony2001 Exp $ */
+/* $Id: levenshtein.c,v 1.43 2006/12/21 23:52:22 andrei Exp $ */
#include "php.h"
#include <stdlib.h>
@@ -98,7 +98,7 @@
}
/* }}} */
-/* {{{ proto int levenshtein(string str1, string str2[, int cost_ins, int
cost_rep, int cost_del])
+/* {{{ proto int levenshtein(string str1, string str2[, int cost_ins, int
cost_rep, int cost_del]) U
Calculate Levenshtein distance between two strings */
PHP_FUNCTION(levenshtein)
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php