3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class AbstractException { public function getDescription() { return $this->Description; } abstract public function setDescription(); } class SomeException extends AbstractException { }
Output for 5.3.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.