run code in 200+ php & hhvm versions
Bugs & Features
<?php function hallo (String $test) { echo $test; } hallo("test");
based on gYjVp
Output for hhvm-3.15.4, 7.0.0 - 7.3.0beta1
Output for 5.6.0 - 5.6.30
Catchable fatal error: Argument 1 passed to hallo() must be an instance of String, string given, called in /in/CUuEb on line 7 and defined in /in/CUuEb on line 3
Process exited with code 255.