Lines Matching refs:matches
187 if (preg_match('/\s(\d+)\s/',$res,$matches)) {
188 $result = $matches[1];
393 if (preg_match('/(.*?)\r\n\r\n(.*)/s',$res,$matches)) {
394 $this->headers = $matches[1];
410 preg_match('/Location: ([\S]+)/i',$res,$matches);
411 return $this->fetch($this->_fix_location($matches[1]));
415 preg_match('/Location: ([\S]+)/i',$res,$matches);
416 error_log('Redirected to:'.$matches[1]);
418 return $this->fetch($this->_fix_location($matches[1]));
425 if (!preg_match('/(.*?)\r\n\r\n(.*)/s',$res,$matches)) {
429 $this->headers = $matches[1];
440 if (!preg_match('/(.*?)\r\n\r\n(.*)/s',$res,$matches)) {
444 $this->headers = $matches[1];