Lines Matching refs:position
759 $position = 0;
765 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) {
766 $output .= substr($string, $position, $pos - $position);
767 $position = $pos + 1;
770 while ($depth && $position < $length) {
771 $position += strcspn($string, '()', $position);
772 if ($string[$position - 1] === '\\') {
773 $position++;
775 } elseif (isset($string[$position])) {
776 switch ($string[$position]) {
785 $position++;
794 $output .= substr($string, $position);