public function shutdownFunction() {
		if(($e=error_get_last()) && $e !== static::$errorAtStart) {
			foreach($this->ignoreDirs as $dir) {
				if(strpos($e['file'], $dir) === 0)
					return;
			}

			while(ob_get_level()) ob_end_clean();
			$exceptionHandler = set_exception_handler(function() {});
			restore_exception_handler();
			$exception = new FatalErrorException($e['message'], $e['type'], 0, $e['file'], $e['line']);
			call_user_func_array($exceptionHandler, [$exception]);
		}
	}
public function shutdownFunction() {
		if(($e=error_get_last()) && $e !== static::$errorAtStart) {
			foreach($this->ignoreDirs as $dir) {
				if(strpos($e['file'], $dir) === 0)
					return;
			}

			while(ob_get_level()) ob_end_clean();
			$exceptionHandler = set_exception_handler(function() {});
			restore_exception_handler();
			$exception = new FatalErrorException($e['message'], $e['type'], 0, $e['file'], $e['line']);
			call_user_func_array($exceptionHandler, [$exception]);
		}
	}
public function shutdownFunction ( ) { if ( ( $ e = error_get_last ( ) ) && $ e !== static :: $ errorAtStart ) { foreach ( $ this -> ignoreDirs as $ dir ) { if ( strpos ( $ e [ 'file' ] , $ dir ) === 0 ) return ; } while ( ob_get_level ( ) ) ob_end_clean ( ) ; $ exceptionHandler = set_exception_handler ( function ( ) { } ) ; restore_exception_handler ( ) ; $ exception = new FatalErrorException ( $ e [ 'message' ] , $ e [ 'type' ] , 0 , $ e [ 'file' ] , $ e [ 'line' ] ) ; call_user_func_array ( $ exceptionHandler , [ $ exception ] ) ; } }
Called on shutdown.
Called on shutdown .