3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $f = function() {}; var_dump($f()); // 'null' var_dump(function() {}); // 'object(Closure)[1]'