| Conditions | 5 |
| Paths | 12 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | protected function exec(){ |
||
| 24 | $response = explode("\r\n\r\n", curl_multi_getcontent($this->curl), 2); |
||
| 25 | $headers = isset($response[0]) ? explode("\r\n", $response[0]) : null; |
||
| 26 | $this->response_body = isset($response[1]) ? $response[1] : null; |
||
| 27 | $this->getInfo(); |
||
| 28 | |||
| 29 | if(is_array($headers)){ |
||
| 30 | foreach($headers as $line){ |
||
| 31 | $this->headerLine($this->curl, $line); |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 35 | } |
||
| 36 | |||
| 38 |