Home
last modified time | relevance | path

Searched refs:levenshtein (Results 1 – 11 of 11) sorted by relevance

/PHP-8.1/ext/standard/tests/strings/
H A Dlevenshtein.phpt2 levenshtein() function test
7 var_dump(levenshtein('12345', '12345'));
10 var_dump(levenshtein('', 'xyz'));
12 var_dump(levenshtein('xyz', ''));
14 var_dump(levenshtein('', ''));
15 var_dump(levenshtein('', '', 10, 10, 10));
18 var_dump(levenshtein('1', '2'));
20 var_dump(levenshtein('12', '21'));
23 var_dump(levenshtein('2121', '11', 2));
28 var_dump(levenshtein('11', '2121'));
[all …]
H A Dlevenshtein_error_conditions.phpt2 levenshtein() former error conditions
6 // levenshtein no longer has a maximum string length limit.
9 var_dump(levenshtein('AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxy…
11 …var_dump(levenshtein('AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwx…
16 var_dump(levenshtein('A', 'AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrst…
18 …var_dump(levenshtein('A', 'AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrs…
24 // var_dump(levenshtein("", "", -1, -1, -1));
H A Dlevenshtein_bug_16473.phpt2 levenshtein() bug 16473
6 var_dump(levenshtein('a', 'bc'));
7 var_dump(levenshtein('xa', 'xbc'));
8 var_dump(levenshtein('xax', 'xbcx'));
9 var_dump(levenshtein('ax', 'bcx'));
H A Dlevenshtein_bug_6562.phpt2 levenshtein() bug 6562
6 var_dump(levenshtein('debugg', 'debug'));
7 var_dump(levenshtein('ddebug', 'debug'));
8 var_dump(levenshtein('debbbug', 'debug'));
9 var_dump(levenshtein('debugging', 'debuging'));
H A Dlevenshtein_bug_7368.phpt2 levenshtein() bug 7368
6 var_dump(levenshtein('13458', '12345'));
7 var_dump(levenshtein('1345', '1234'));
/PHP-8.1/ext/standard/tests/general_functions/
H A D003.phpt2 levenshtein() function test
9 $result=levenshtein($text1,$text2);
11 $result=levenshtein($text1,$text2,$cost1,$cost2,$cost3);
/PHP-8.1/ext/standard/
H A Dlevenshtein.c70 PHP_FUNCTION(levenshtein) in PHP_FUNCTION() argument
H A Dconfig.w3234 versioning.c assert.c strnatcmp.c levenshtein.c incomplete_class.c \
H A Dconfig.m4467 var.c versioning.c assert.c strnatcmp.c levenshtein.c \
H A Dbasic_functions.stub.php1358 function levenshtein(string $string1, string $string2, int $insertion_cost = 1, int $replacement_co… function
H A Dbasic_functions_arginfo.h2646 ZEND_FUNCTION(levenshtein);
3289 ZEND_FE(levenshtein, arginfo_levenshtein)

Completed in 26 milliseconds