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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 Oct 05 05:01:27 2024 UTC