<?php class Foo { public function __destruct() { static $i = 0; $i++; throw new Exception('Foo::__destruct() ' . $i); } } try { var_dump(new Foo() + new Foo()); } catch (Exception $e) { var_dump($e); }
You have javascript disabled. You will not be able to edit any code.