PHP 4.0 Bug #7368 Updated: levenshtein() miscalculations
| From: | hholzgra@php.net | Date: | Wed, 13 Dec 2000 23:45:24 +0000 |
| Subject: | PHP 4.0 Bug #7368 Updated: levenshtein() miscalculations | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41258@lists.php.net to get a copy of this message | ||
ID: 7368
Updated by: hholzgra
Reported By: hartmut@six.de
Old-Status: Assigned
Status: Closed
Bug Type: Strings related
Assigned To: hholzgra
Comments:
fixed in CVS
Previous Comments:
---------------------------------------------------------------------------
[2000-10-20 11:33:41] hartmut@six.de
for the strings "12345" and "13458",
levenshtein("12345","13458") returns 3
levenshtein("12345","13458",1,1,1) returns 4
The correct answer is 2.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7368