Lines Matching refs:position
80 $position = 0;
84 $parts[] = self::makePart($string, $position, null, $offset_capture);
89 $parts[] = self::makePart($string, $position, $length[0], $offset_capture);
92 $position += $length[0];
135 * @param integer $position
140 private static function makePart($string, $position, $length = null, $offset_capture = false)
142 $cut = mb_strcut($string, $position, $length);
145 ? [$cut, $position]
164 $position = 0;
165 while ($position < $strlen
168 $lengths[] = [$array[0] - $position, false, null];
170 // move position
171 $position = $array[0] + $array[1];
179 $lengths[] = [$strlen - $position, false, null];