标签: php object static literals
class Entity { static $MyStatic = 'foo'; } echo "/Entity::$MyStatic/"; // doesn't work
如何获得此输出:/foo/
/foo/
不使用'/' . Entity::$MyStatic . '/'?
'/' . Entity::$MyStatic . '/'