title: Best way to write arrays to a file?
body: <p>I want to avoid writing to DB and use constants/array for lang files etc.</p>
  
  <p>i.e:</p>
  
  <pre><code>$lang = array (
    'hello' =&gt; 'hello world!'
  );
  </code></pre>
  
  <p>and be able to edit it from the back office.
  (then instead of fetching it from the poor db, i would just use $lang['hello']..).</p>
  
  <p>what are you suggesting for the best and efficient way to pull it of?</p>