<?phpnamespaceSymfony\Component\Debug\Tests\Fixtures;classToStringThrower{private$exception;publicfunction__construct(\Exception$e){$this->exception=$e;}publicfunction__toString(){try{throw$this->exception;}catch(\Exception$e){// Using user_error() here is on purpose so we do not forget// that this alias also should work alongside with trigger_error().returntrigger_error($e,E_USER_ERROR);}}}