3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface Asd { public function qwerty(int $q): array; }
Output for 7.0.0 - 7.3.0alpha1
Output for 5.3.22 - 5.6.28
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /in/d44d2 on line 5
Process exited with code 255.