title: How do I access static member of a class?
body: <p>I am trying to access static member of a class.</p>
  
  <p>my class is:</p>
  
  <pre><code>class A
  {
      public static $strName = 'A is my name'
      public function xyz()
      {
          ..
      }
      ..
  }
  //Since I have bunch of classes stored in an array
  $x = array('A');
  echo $x::$strName;
  </code></pre>
  
  <p>I am getting error while printing. How can I print <strong>'A is my name'</strong></p>