3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface x { function z($a){} } class y implements x { function z(array $a){var_dump($a);} } $y = new y; $y->z([]);
Output for 5.3.0 - 5.4.28
Fatal error: Interface function x::z() cannot contain body in /in/XrraH on line 5
Process exited with code 255.