title: FIle doesn't get updated by appending text in PHP
body: <p>I'm trying to append text with PHP to my text file, but <code>123.txt</code> is still empty after the code execution.</p>
  <p><strong>Code:</strong></p>
  <pre><code>&lt;?php
  $fp = fopen('123.txt', &quot;a+&quot;);
  fwrite($fp, 'Cats chase dogs');
  fclose($fp);
  ?&gt;
  </code></pre>
  <p>I don't see anything wrong and I don't understand why it's not writing.</p>
  <p>Any kind of help would be highly appreciated.</p>