3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php interface plop { public function foo(); } abstract bar implements plop { abstract public function foo(); } class test extends bar { public function foo() { return; } }
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected 'bar' (T_STRING), expecting class (T_CLASS) in /in/1qCNQ on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.24, 5.3.26
Parse error: syntax error, unexpected T_STRING, expecting T_CLASS in /in/1qCNQ on line 7
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected T_STRING, expecting T_CLASS in /in/oQSYi on line 7
Process exited with code 255.