ID: 34835
Updated by: [EMAIL PROTECTED]
Reported By: fdcxl at 163 dot com
Status: Open
-Bug Type: Program Execution
+Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 5.0.5
New Comment:
And the warning is: "Warning: levenshtein(): The general Levenshtein
support is not there yet".
Reclassified as feature request.
Previous Comments:
------------------------------------------------------------------------
[2005-10-12 10:08:59] fdcxl at 163 dot com
Description:
------------
levenshtein with 3 parameters does not work.
I have checked the soucecode, it treat the third parameter to be a
callback function. While in the manual, it's supposed to be an integer.
Reproduce code:
---------------
levenshtein("abc", "abcd", 2);
Expected result:
----------------
2
Actual result:
--------------
Some warning message
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34835&edit=1