3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Name; class Foo { public static function method () {call_user_func(function () { var_dump(__FUNCTION__, __METHOD__); }) }; } Foo::method();
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '}' in /in/FPfJr on line 4
Process exited with code 255.