Lines Matching refs:to
22 * @param array $to
26 public function calculate(array $from, array $to) argument
29 $cTo = \count($to);
36 if (\in_array($from[0], $to, true)) {
46 $llB = $this->length($fromStart, $to);
47 $llE = $this->length(\array_reverse($fromEnd), \array_reverse($to));
60 $toStart = \array_slice($to, 0, $jMax);
61 $toEnd = \array_slice($to, $jMax);
71 * @param array $to
75 private function length(array $from, array $to) argument
77 $current = \array_fill(0, \count($to) + 1, 0);
79 $cTo = \count($to);
85 if ($from[$i] === $to[$j]) {