Lines Matching refs:position
82 $position = 0;
86 $parts[] = self::makePart($string, $position, null, $offset_capture);
91 $parts[] = self::makePart($string, $position, $length[0], $offset_capture);
94 $position += $length[0];
137 * @param integer $position
142 private static function makePart($string, $position, $length = null, $offset_capture = false) argument
144 $cut = mb_strcut($string, $position, $length);
147 ? [$cut, $position]
166 $position = 0;
167 while ($position < $strlen
170 $lengths[] = [$array[0] - $position, false, null];
173 $position = $array[0] + $array[1];
181 $lengths[] = [$strlen - $position, false, null];