run code in 150+ php & hhvm versions
Bugs & Features
<?php interface iTemplate { public function setVariable($name, $var); public function getHtml($template); } class BadTemplate implements iTemplate { private $vars = array(); abstract public function setVariable($name, $var); }
Output for 5.3.0 - 5.4.19
Fatal error: Class BadTemplate contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (BadTemplate::setVariable) in /in/VPEAn on line 17
Process exited with code 255.