title: defining a php constant value with a function in a class
body: <p>Is it possible to define a php array constant in a class with a function?</p>
  
  <p>edit: "php array variable" not constant</p>
  
  <p>I've tried:</p>
  
  <p>assume,
  array func(string param1, string param2...);</p>
  
  <pre><code>class A{
  
      public static $const;
  
      public function blah(){
          self::$const = func('a','b','c',...);
      }
  }
  </code></pre>
  
  <p>the debugger in sublime shows no value for $const after a break point at the self::$const line</p>