|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-06 19:32 UTC] sniper@php.net
[2000-10-30 12:25 UTC] hholzgra@php.net
[2000-12-13 18:30 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 18:00:01 2025 UTC |
The problem is very simple : try this for example levenshtein("debugging","debuging") returns 0 instead of 1 levenshtein("debbbug","debug") returns 1 instead of 2.. etc and levenshtein("ddebug","debug") returns 0 etc but (the exception!) levenshtein("debugg","debug") returns 1 (coool) My english is pretty poor so no long description, i think u have understood the core of the problem :) I think this is a problem in the source code of the lenvenshtein function (algorithmic) so no need for other information (i hope so). Have a nice day ! Francois