3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $f = function(int $i = 42) { }; $info = new ReflectionFunction($f); var_dump($info->getParameters()[0]);
Output for 7.3.0rc3
object(ReflectionParameter)#3 (1) { ["name"]=> string(1) "i" }