3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $f = function(int $i) { }; $info = new ReflectionFunction($f); var_dump($info->getParameters()[0]->getDefaultValue());
Output for 7.3.0rc3
Fatal error: Uncaught ReflectionException: Internal error: Failed to retrieve the default value in /in/ZgZOI:8 Stack trace: #0 /in/ZgZOI(8): ReflectionParameter->getDefaultValue() #1 {main} thrown in /in/ZgZOI on line 8
Process exited with code 255.