<?php class A { public function __destruct() { throw new \Exception(); } } try { $a = new A(); } catch(\Exception $x) { var_dump($x); }
You have javascript disabled. You will not be able to edit any code.