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