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]->getDefaultValue());
Output for 7.3.0rc3
int(42)