Lines Matching refs:output
361 $output = '';
375 // C: if the input buffer begins with a prefix of "/../" or "/..", where ".." is a complete path segment, then replace that prefix with "/" in the input buffer and remove the last segment and its preceding "/" (if any) from the output buffer; otherwise,
378 $output = substr_replace($output, '', intval(strrpos($output, '/')));
381 $output = substr_replace($output, '', intval(strrpos($output, '/')));
387 // E: move the first path segment in the input buffer to the end of the output buffer, including the initial "/" character (if any) and any subsequent characters up to, but not including, the next "/" character or the end of the input buffer
389 $output .= substr($input, 0, $pos);
392 $output .= $input;
396 return $output . $input;