| @@ 575-582 (lines=8) @@ | ||
| 572 | } |
|
| 573 | if ($v = function_exists('error_clear_last') && function_exists('error_get_last')) { |
|
| 574 | error_clear_last(); |
|
| 575 | } else { |
|
| 576 | if ($t = ini_get('track_errors')) { |
|
| 577 | $o = isset($php_errormsg) ? $php_errormsg : null; |
|
| 578 | } else { |
|
| 579 | ini_set('track_errors', 1); |
|
| 580 | } |
|
| 581 | unset($php_errormsg); |
|
| 582 | } |
|
| 583 | if (($d = ini_get('display_errors'))) { |
|
| 584 | ini_set('display_errors', 0); |
|
| 585 | } |
|
| @@ 589-596 (lines=8) @@ | ||
| 586 | preg_match($p, ''); |
|
| 587 | if ($v) { |
|
| 588 | $r = error_get_last() == null ? 1 : 0; |
|
| 589 | } else { |
|
| 590 | $r = isset($php_errormsg) ? 0 : 1; |
|
| 591 | if ($t) { |
|
| 592 | $php_errormsg = isset($o) ? $o : null; |
|
| 593 | } else { |
|
| 594 | ini_set('track_errors', 0); |
|
| 595 | } |
|
| 596 | } |
|
| 597 | if ($d) { |
|
| 598 | ini_set('display_errors', 1); |
|
| 599 | } |
|