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