3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
152.11 ms | 2099 KiB | 10 Q