Lines Matching refs:line
135 if($line = trim(array_shift($lines))) {
136 if($pos = strrpos($line,' ')) {
137 $fname = substr($line,0,$pos);
138 $offset = intval(substr($line,$pos+1));
147 foreach($lines as $line) {
148 if($line[0] == $minus) {
149 …if(($offset <= count($target_lines)) && (strcmp(rtrim(substr($line,1)),rtrim($target_lines[$offset…
153 $return_string .= ' '.rtrim(substr($line,1))."\n";
159 elseif($line[0] == $plus) {
161 array_splice($target_lines,$offset-1,0,substr($line,1)."\n");
168 } elseif(trim($line) == '') {
171 $return_string .= ' '.$this->lang['msg_errline'].': '.$line."\n";