3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj = new ReflectionFunction('phpinfo'); $obj = $obj->getClosure(); var_dump($obj); $obj();
based on ZtjUJ
Output for 5.4.0 - 7.1.0
object(Closure)#2 (0) { } Warning: phpinfo() has been disabled for security reasons in /in/5OonM on line 5