3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $functionName = 'MyFunction'; ${$functionName} = function() { echo 'called.'; }; var_dump(get_defined_functions());