title: Access Abstract Class Property dynamically (the Class)
body: <p>Given there are Abstract Classes and I want to access certain properties from different classes and I want a user Interface that the user might enter the class and the property.</p>
  
  <p>Is there any better way than</p>
  
  <pre><code>$_class = "CLASSNAME";
  $_prop  = "FILE";
  
  $_eval = "return (" . $_class . "::$" . $_prop . ");"; 
  $_val = eval( $_eval );
  </code></pre>
  
  <p>If the Class will be known (or only one class exists), I could use</p>
  
  <pre><code>$_val = CLASSNAME::$$_prop;
  </code></pre>
  
  <p>But how to replace CLASSNAME?</p>