title: File Helper: Write an array to file?
body: <p>It seems I can't write an array with file helper.</p>
  
  <pre><code>write_file('./save/' . $fileName . '.php', $array, 'w+')
  </code></pre>
  
  <blockquote>
    <p>Severity: Warning</p>
    
    <p>Message: fwrite() expects parameter 2 to be string, array given</p>
    
    <p>Filename: helpers/file_helper.php</p>
    
    <p>Line Number: 96</p>
  </blockquote>
  
  <p>Is there anyway around this?</p>