<?php class Foo extends \Exception { public function __construct() { parent::__construct('foo', 0); $this->code = new \stdClass(); } } $e = new Foo(); var_dump($e->getCode());
You have javascript disabled. You will not be able to edit any code.