3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Test { function __toString() { return "me"; } } $me = function () { var_dump(func_get_args()); }; $test = new Test(); {$test}("Hello");
Output for 5.3.0 - 5.4.12
Parse error: syntax error, unexpected '}' in /in/2Rgn9 on line 15
Process exited with code 255.