title: PHP mixing zip and ftp stream wrappers
body: <p>I can't figure out how to combine the zip:// and ftp:// stream wrappers.  I want to open read a stream to a file within a zip archive on a remote FTP server.</p>
  
  <p>The following two work as expected; I can either open an FTP stream to the server or I can open a stream to a file within a zip archive.</p>
  
  <pre><code>fopen("ftp://user:pass@host/home/user/file.zip", "r");
  fopen("zip://file.zip#file.txt", "r");
  </code></pre>
  
  <p>I'd like to combine the two and do something like.</p>
  
  <pre><code>fopen("zip://ftp://user:pass@host/home/user/file.zip#file.txt", "r");
  </code></pre>
  
  <p>But with that approach I get: failed to open stream: operation failed</p>
  
  <p>Not sure how to find out what's causing the error, so I don't know if this is even possible.</p>