title: php const arrays
body: <p>Is this the only way to have arrays as constants in php or is this bad code:</p>
  
  <pre><code>class MyClass
  {
      private static $myArray = array('test1','test2','test3');
  
      public static function getMyArray()
      {
         return self::$myArray;
      } 
  }
  </code></pre>