Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.humitest.fr
/
htdocs
/
vendor
/
symfony
/
debug
/
Tests
/
Fixtures
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/vendor/symfony/debug/Tests/Fixtures/ToStringThrower.php
<?php namespace Symfony\Component\Debug\Tests\Fixtures; class ToStringThrower { private $exception; public function __construct(\Exception $e) { $this->exception = $e; } public function __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(). return trigger_error($e, E_USER_ERROR); } } }