3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public function test() { } } foo($a) { $a->test(); $a::test(); }
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '{' in /in/I5pvi on line 8
Process exited with code 255.