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]->getValue());
Output for 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined method ReflectionParameter::getValue() in /in/IbkFG:8 Stack trace: #0 {main} thrown in /in/IbkFG on line 8
Process exited with code 255.