PHP 4.0 Bug #9080 Updated: bug in weighted Levenshtein distance function

From: Date: Fri, 02 Feb 2001 17:44:47 +0000
Subject: PHP 4.0 Bug #9080 Updated: bug in weighted Levenshtein distance function
Groups: php.dev 
Request: Send a blank email to php-dev+get-45624@lists.php.net to get a copy of this message
ID: 9080 Updated by: hholzgra Reported By: sb@ldc.upenn.edu Old-Status: Open Status: Closed Bug Type: *Function Specific Assigned To: Comments: levenshtein functions in 4.04. (and at least back to 4.0.3) are broken in several places due to myself over-optimizing my fix came a little late for 4.0.4 so you have to use latest CVS or wait for 4.0.5 to get a working (but less optimized for now) version Previous Comments: --------------------------------------------------------------------------- [2001-02-02 12:04:58] sb@ldc.upenn.edu In function: static int weighted_levdist There is a block of code: 118 /* if we already used up one string, then 119 the result is the length of the other */ 120 if(*s1=='

« previous php.dev (#45624) next »