3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A {public static function b() {}} $c = 'A::b'; {$c}();
Output for 5.3.0 - 5.5.9
Parse error: syntax error, unexpected '}' in /in/mCE5o on line 6
Process exited with code 255.