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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 + 48 = ?
Subscribe to this entry?

 
 [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: Fri Apr 26 01:01:30 2024 UTC