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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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 Dec 21 17:01:58 2024 UTC