|
@@ 586-589 (lines=4) @@
|
| 583 |
|
} |
| 584 |
|
} |
| 585 |
|
|
| 586 |
|
if (\preg_match('/Action: (.+)/i', $dsn_report, $match)) { |
| 587 |
|
$action = \strtolower(\trim($match[1])); |
| 588 |
|
$result['action'] = $action; |
| 589 |
|
} |
| 590 |
|
|
| 591 |
|
if (\preg_match("/Status: ([0-9\.]+)/i", $dsn_report, $match)) { |
| 592 |
|
$status_code = $match[1]; |
|
@@ 591-594 (lines=4) @@
|
| 588 |
|
$result['action'] = $action; |
| 589 |
|
} |
| 590 |
|
|
| 591 |
|
if (\preg_match("/Status: ([0-9\.]+)/i", $dsn_report, $match)) { |
| 592 |
|
$status_code = $match[1]; |
| 593 |
|
$result['status_code'] = $status_code; |
| 594 |
|
} |
| 595 |
|
|
| 596 |
|
// Could be multi-line , if the new line is beginning with SPACE or HTAB |
| 597 |
|
if (\preg_match("/Diagnostic-Code:((?:[^\n]|\n[\t ])+)(?:\n[^\t ]|$)/i", $dsn_report, $match)) { |