Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dlevenshtein.c22 …ing *string1, const zend_string *string2, zend_long cost_ins, zend_long cost_rep, zend_long cost_d… in reference_levdist() argument
45 c0 = p1[i2] + ((ZSTR_VAL(string1)[i1] == ZSTR_VAL(string2)[i2]) ? 0 : cost_rep); in reference_levdist()
74 zend_long cost_rep = 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 4 milliseconds