PHP 4.0 Bug #7368 Updated: levenshtein() miscalculations
| From: | hholzgra@php.net | Date: | Fri, 20 Oct 2000 15:34:02 +0000 |
| Subject: | PHP 4.0 Bug #7368 Updated: levenshtein() miscalculations | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35665@lists.php.net to get a copy of this message | ||
ID: 7368
Updated by: hholzgra
Reported By: hartmut@six.de
Status: Assigned
Bug Type: Strings related
Assigned To: hholzgra
Comments:
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