php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10702 levenshtein doesn't handle odd arguments well
Submitted: 2001-05-07 09:06 UTC Modified: 2001-07-22 01:20 UTC
From: zak@php.net Assigned:
Status: Closed Package: Strings related
PHP Version: 4.0.5 OS: Win2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zak@php.net
New email:
PHP Version: OS:

 

 [2001-05-07 09:06 UTC] zak@php.net
Hello Hartmut,

levenshtein ('foot','fot','0','0','1');
 - and -
levenshtein ('foot','fot','0','1','1');

return the following error:

Warning:  levenshtein(): argument string(s) too long in f:/xitami/pub/php_er/mysql/test.php on line 3

--zak

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-21 21:59 UTC] andy@php.net
Please see the related documentation.

http://php.net/manual/en/function.levenshtein.php

 [2001-07-21 21:59 UTC] andy@php.net
Please see the related documentation.

http://php.net/manual/en/function.levenshtein.php

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC