3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function func() { $call = function() { echo 'Hello world'; }; $call(); } func();
based on Va3Gj
Output for 7.1.25 - 7.3.1
Hello world