<?php class test { public function __toString() { $e = new Exception('mooo'); echo $e; throw $e; return null; } } $x = new test; var_dump((string)$x);
You have javascript disabled. You will not be able to edit any code.