3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $f = function(int $i) { }; var_dump((string) $f);
Output for 7.3.0rc3
Recoverable fatal error: Object of class Closure could not be converted to string in /in/OilnN on line 7
Process exited with code 255.