I need to use constant as class name for acces to this class static property, that is
class a { public static $name = \"Jon\"; } define(\"CLASSNAME\",
Use PHP's absolute mess of dereferencing:
$CLASSNAME = 'a'; $a::$name;