3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class Foo { abstract public function bar($mKey = NULL){ } } class Bar extends Foo { public function bar($mKey = null) { } }
Output for 5.3.0 - 5.4.22
Fatal error: Abstract function Foo::bar() cannot contain body in /in/6cqgj on line 7
Process exited with code 255.