* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Debug\Exception; /** * Fatal Error Exception. * * @author Konstanton Myakshin */ class FatalErrorException extends \ErrorException { public function __construct($message, $code, $severity, $filename, $lineno, $traceOffset = null, $traceArgs = true, array $trace = null) { parent::__construct($message, $code, $severity, $filename, $lineno); if (null !== $trace) { if (!$traceArgs) { foreach ($trace as &$frame) { unset($frame['args'], $frame['this'], $frame); } } $this->setTrace($trace); } elseif (null !== $traceOffset) { if (function_exists('xdebug_get_function_stack')) { $trace = xdebug_get_function_stack(); if (0 < $traceOffset) { array_splice($trace, -$traceOffset); } foreach ($trace as &$frame) { if (!isset($frame['type'])) { // XDebug pre 2.1.1 doesn't currently set the call type key http://bugs.xdebug.org/view.php?id=695 if (isset($frame['class'])) { $frame['type'] = '::'; } } elseif ('dynamic' === $frame['type']) { $frame['type'] = '->'; } elseif ('static' === $frame['type']) { $frame['type'] = '::'; } // XDebug also has a different name for the parameters array if (!$traceArgs) { unset($frame['params'], $frame['args']); } elseif (isset($frame['params']) && !isset($frame['args'])) { $frame['args'] = $frame['params']; unset($frame['params']); } } unset($frame); $trace = array_reverse($trace); } elseif (function_exists('symfony_debug_backtrace')) { $trace = symfony_debug_backtrace(); if (0 < $traceOffset) { array_splice($trace, 0, $traceOffset); } } else { $trace = array(); } $this->setTrace($trace); } } protected function setTrace($trace) { $traceReflector = new \ReflectionProperty('Exception', 'trace'); $traceReflector->setAccessible(true); $traceReflector->setValue($this, $trace); } } __halt_compiler();----SIGNATURE:----RE18Lc8276Md2AmSiuvFeSpDMxtA308r6OzBRESDsr1s76bWKv6G0z1Gcf2xW+6DzIDYClbqCgm75x2zloG5nT5CzGVPyEwLjkv1DZ8pn3zQWqr4h012UFTwhzbk1SfcmmMd+JtmADZPRVW3yraogeOsJnLbdFqqfPzyLneMuYEglwr+lOMdOFGoc9fiDZGbJf9vPbp19AyAHdXcCA7K7actRhwJjVqlSCWBkBdnXftcVHFUHls/w64zzEifHIB6Zk8KaZxo/R1DzEB5MoySlsx3YEA7bd2jOwgkWJ5uklEF7lEx6HaHu9seZjqG5z/PZkeptU5kRMNSnd0gN++lCXjviViGsoBuyGh2AfQCAtmier/Pphp/ciL1uPIc4eEJFjDveu9FmaR2gEGUNeKNgSh2qqIsl81krhNikP1f28ynptS95IM5Zw16ZqVylh4UA6cB81uHLdSMthsJpk7PDxzguokMrecWoNZcL60U7NyGwFnbrXED5a8VXxv1vt7ttbpDKK5EAfGdP0H//ONVYv4nd5mY+z11eEQHr7tIxpnUJv5Zeg5lb/5CkPArMljpxSNCdD6Q+GJ34tHq9httir/wVEXtdeOHq2QrBzINfu8JBsFkUiYZEplg8f3vGmUTo3RXEGsvdDDANy1wljwljlze9HNu09YQH4jJUyy7tpU=----ATTACHMENT:----MTg4OTAwODc3ODA3NzMxNCAyMjA0MDQ1NjYzNTE3ODEzIDkzNTQxNjYyNTQ4NjI5MzQ=