<?php class MyException extends Exception {} function consume(MyException $e) { var_dump(get_class($e)); } consume(new MyException);
You have javascript disabled. You will not be able to edit any code.