title: php 5.6 file_put_contents blank on large content
body: <p>PHP 7 works fine for this but when I use 5.6 I dont get an error but <code>file_put_contents</code> just creates a blank file when inserting large content into a file.  Its just text but it can be a lot.  Is there a config setting or something I am missing?  It works fine for less content.  </p>
  
  <p>Thanks!</p>
  
  <p>EDIT
  When using fopen I get </p>
  
  <blockquote>
    <p>failed to open stream: Result too large</p>
  </blockquote>
  
  <p>Theres only one other file in the directory.</p>