| @@ 190-196 (lines=7) @@ | ||
| 187 | ||
| 188 | return $record; |
|
| 189 | }; |
|
| 190 | for ($i = 0; $i < $ancount; ++$i) { |
|
| 191 | $record = $getResRecord($pct); |
|
| 192 | if (!isset($this->response[$record['type']])) { |
|
| 193 | $this->response[$record['type']] = []; |
|
| 194 | } |
|
| 195 | $this->response[$record['type']][] = $record; |
|
| 196 | } |
|
| 197 | for ($i = 0; $i < $nscount; ++$i) { |
|
| 198 | $record = $getResRecord($pct); |
|
| 199 | if (!isset($this->response[$record['type']])) { |
|
| @@ 197-203 (lines=7) @@ | ||
| 194 | } |
|
| 195 | $this->response[$record['type']][] = $record; |
|
| 196 | } |
|
| 197 | for ($i = 0; $i < $nscount; ++$i) { |
|
| 198 | $record = $getResRecord($pct); |
|
| 199 | if (!isset($this->response[$record['type']])) { |
|
| 200 | $this->response[$record['type']] = []; |
|
| 201 | } |
|
| 202 | $this->response[$record['type']][] = $record; |
|
| 203 | } |
|
| 204 | for ($i = 0; $i < $arcount; ++$i) { |
|
| 205 | $record = $getResRecord($pct); |
|
| 206 | if (!isset($this->response[$record['type']])) { |
|
| @@ 204-210 (lines=7) @@ | ||
| 201 | } |
|
| 202 | $this->response[$record['type']][] = $record; |
|
| 203 | } |
|
| 204 | for ($i = 0; $i < $arcount; ++$i) { |
|
| 205 | $record = $getResRecord($pct); |
|
| 206 | if (!isset($this->response[$record['type']])) { |
|
| 207 | $this->response[$record['type']] = []; |
|
| 208 | } |
|
| 209 | $this->response[$record['type']][] = $record; |
|
| 210 | } |
|
| 211 | $this->onResponse->executeOne($this->response); |
|
| 212 | if (!$this->keepalive) { |
|
| 213 | $this->finish(); |
|