3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namesoace A\B; class A { public static function b() { return 'a'; } } $a = 'A\\B\\A'; echo $a::b();
Output for 5.4.0 - 5.4.8
Parse error: syntax error, unexpected 'A' (T_STRING) in /in/PFkZ0 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.18
Parse error: syntax error, unexpected T_STRING in /in/PFkZ0 on line 3
Process exited with code 255.