3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Car{ public static function a(){ return 'hi'; } } class Constants{ public static $use='Car'; } $trim = 'trim'; echo {Constants::$use}::a();
Output for 5.3.0 - 5.4.15
Parse error: syntax error, unexpected '{' in /in/UeLnB on line 12
Process exited with code 255.