Searched refs:cost_ins (Results 1 – 1 of 1) sorted by relevance
/PHP-8.2/ext/standard/ |
H A D | levenshtein.c | 22 …vdist(const zend_string *string1, const zend_string *string2, zend_long cost_ins, zend_long cost_r… in reference_levdist() argument 29 return ZSTR_LEN(string2) * cost_ins; in reference_levdist() 39 p1[i2] = i2 * cost_ins; in reference_levdist() 50 c2 = p2[i2] + cost_ins; in reference_levdist() 73 zend_long cost_ins = 1; in PHP_FUNCTION() local 77 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS|lll", &string1, &string2, &cost_ins, &cost_rep, &co… in PHP_FUNCTION() 82 RETURN_LONG(reference_levdist(string1, string2, cost_ins, cost_rep, cost_del)); in PHP_FUNCTION()
|
Completed in 6 milliseconds