title: Hhvm : Arrays are not allowed in class constants
body: <p>I've a php script that runs ok on my local (MAC High Sierra 10.13.6, php version 7.1.16) using <code>php file.php ...</code></p>
  
  <p><code>hhvm --version</code> gives <code>HipHop VM 3.11.0 (rel)</code></p>
  
  <p>When I run from vagrant (hhvm), it complains <code>Fatal error: Arrays are not allowed in class constants in certainfile.php on line xxx</code>. using <code>hhvm file.php ...</code>.</p>
  
  <p>In my file, I've a const defined as:</p>
  
  <p><code>class Lalala {
         const AB_C = array(A::a, B::b,...);
         function xyz {...use self::AB_C ...}
  }</code></p>
  
  <p>I tried to change it to 
  <code>define("AB_C", array(A::a, B::b,...));</code>, but it couldn't even compile with syntax error. </p>
  
  <p>How should I declare the constant arrays here please? 
  Thank you. </p>
  
  <hr>
  
  <p><code>define("AB_C", serialize(array(A::a, B::b,...)));</code>also failed with same syntax error</p>
  
  <p><code>define("AB_C", jsonencode(array(A::a, B::b,...)));</code>also failed with same syntax error</p>