<?php class Foo { public function __toString() { $exception = new Exception('foo'); trigger_error((string) $exception, E_USER_ERROR); } } $foo = new Foo; echo $foo;
You have javascript disabled. You will not be able to edit any code.