3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class AbstractException { public function getDescription() { return $this->Description; } abstract public function setDescription(); } class SomeException extends AbstractException { }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
Fatal error: Class SomeException contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (AbstractException::setDescription) in /in/O1spb on line 15
Process exited with code 255.

preferences:
178.19 ms | 1395 KiB | 65 Q