Lines Matching refs:position
1755 $position = 0;
1761 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) {
1762 $output .= substr($string, $position, $pos - $position);
1763 $position = $pos + 1;
1766 while ($depth && $position < $length) {
1767 $position += strcspn($string, '()', $position);
1768 if ($string[$position - 1] === '\\') {
1769 $position++;
1771 } elseif (isset($string[$position])) {
1772 switch ($string[$position]) {
1781 $position++;
1790 $output .= substr($string, $position);
1887 $position = strspn($string, $space_characters);
1890 while ($position < $string_length) {
1891 $len = strcspn($string, $space_characters, $position);
1892 $tokens[] = substr($string, $position, $len);
1893 $position += $len;
1894 $position += strspn($string, $space_characters, $position);