| @@ 589-596 (lines=8) @@ | ||
| 586 | } |
|
| 587 | if ($v = function_exists('error_clear_last') && function_exists('error_get_last')) { |
|
| 588 | error_clear_last(); |
|
| 589 | } else { |
|
| 590 | if ($t = ini_get('track_errors')) { |
|
| 591 | $o = isset($php_errormsg) ? $php_errormsg : null; |
|
| 592 | } else { |
|
| 593 | ini_set('track_errors', 1); |
|
| 594 | } |
|
| 595 | unset($php_errormsg); |
|
| 596 | } |
|
| 597 | if (($d = ini_get('display_errors'))) { |
|
| 598 | ini_set('display_errors', 0); |
|
| 599 | } |
|
| @@ 603-610 (lines=8) @@ | ||
| 600 | preg_match($p, ''); |
|
| 601 | if ($v) { |
|
| 602 | $r = error_get_last() == null ? 1 : 0; |
|
| 603 | } else { |
|
| 604 | $r = isset($php_errormsg) ? 0 : 1; |
|
| 605 | if ($t) { |
|
| 606 | $php_errormsg = isset($o) ? $o : null; |
|
| 607 | } else { |
|
| 608 | ini_set('track_errors', 0); |
|
| 609 | } |
|
| 610 | } |
|
| 611 | if ($d) { |
|
| 612 | ini_set('display_errors', 1); |
|
| 613 | } |
|