3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class foo { abstract public function bar() { echo "foobar"; } } $d = new foo; $d->bar();
Output for 5.3.0 - 5.4.13
Fatal error: Abstract function foo::bar() cannot contain body in /in/9blBW on line 5
Process exited with code 255.