title: How to load return array from a PHP file?
body: <p>I have a PHP file a configuration file coming from a <a href="http://www.yiiframework.com/">Yii</a> message translation file which contains this:</p>
  
  <pre><code>&lt;?php
   return array(
    'key' =&gt; 'value'
    'key2' =&gt; 'value'
   );
  ?&gt;
  </code></pre>
  
  <p>I want to load this array from another file and store it in a variable</p>
  
  <p>I tried to do this but it doesn't work</p>
  
  <pre><code>function fetchArray($in)
  {
     include("$in");
  }
  </code></pre>
  
  <p><code>$in</code> is the filename of the PHP file</p>
  
  <p>Any thoughts how to do this?</p>