title: Is it possible to write data in .zip file
body: <p>According to this example:</p>
  
  <pre><code>&lt;?php
  $file = 'people.txt';
  // Open the file to get existing content
  $current = file_get_contents($file);
  // Append a new person to the file
  $current .= "John Smith\n";
  // Write the contents back to the file
  file_put_contents($file, $current);
  ?&gt;
  </code></pre>
  
  <p>Is it also possible to write data into a .zip file?</p>
  
  <pre><code>&lt;?php
  $file = 'people.zip';
  // Open the file to get existing content
  $current = file_get_contents($file);
  // Append a new person to the file
  $current .= "John Smith\n";
  // Write the contents back to the file
  file_put_contents($file, $current);
  ?&gt;
  </code></pre>