- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/Rtob2 on line 11
Process exited with code 255.
<?php
class AException extends \Exception {}
class T extends \RuntimeException{
public function __construct($message, AException $e) {
parent::__construct($message, $e->getCode(), $e);
}
}
throw new T("CRAP", new AException;