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
 [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: Sun Nov 03 07:01:28 2024 UTC