3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A{} class B extends A{} interface I{ public function z(A $var) } class M implements I{ public function z(A $var){} }
Output for 5.3.0 - 5.5.7
Parse error: syntax error, unexpected '}', expecting ';' or '{' in /in/TOEoe on line 7
Process exited with code 255.