3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh function a(float $b) { var_dump($b); } a(3);
Output for hhvm-3.10.0
Catchable fatal error: Argument 1 passed to a() must be an instance of float, int given in /in/PlqoA on line 2
Process exited with code 255.
Output for 5.4.0 - 5.6.15
Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /in/PlqoA on line 2
Process exited with code 255.