3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public function a() { } } class B extends A { public function a(array $a) }
Output for 5.3.0 - 5.4.8
Parse error: syntax error, unexpected '}', expecting ';' or '{' in /in/in38a on line 10
Process exited with code 255.