Lines Matching refs:j
38 for ($j = 0; $j <= $toLength; ++$j) {
39 $matrix[$j * $width] = 0;
43 for ($j = 1; $j <= $toLength; ++$j) {
44 $o = ($j * $width) + $i;
48 $from[$i - 1] === $to[$j - 1] ? $matrix[$o - $width - 1] + 1 : 0
54 $j = $toLength;
56 while ($i > 0 && $j > 0) {
57 if ($from[$i - 1] === $to[$j - 1]) {
60 --$j;
62 $o = ($j * $width) + $i;
65 --$j;