downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/function.zip-read.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/ref.zip.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'function.zip-read.php',
   
1 => 'zip_read',
  ),
 
'up' =>
  array (
   
0 => 'ref.zip.php',
   
1 => 'Zip Functions',
  ),
 
'prev' =>
  array (
   
0 => 'function.zip-open.php',
   
1 => 'zip_open',
  ),
 
'next' =>
  array (
   
0 => 'book.zlib.php',
   
1 => 'Zlib',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="function.zip-read" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">zip_read</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5 &gt;= 5.2.0, PECL zip &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">zip_read</span> &mdash; <span class="dc-title">Read next entry in a ZIP file archive</span></p>

 </div>
 <a name="function.zip-read.description"></a><div class="refsect1 description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><a href="language.pseudo-types.php#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><b>zip_read</b></span>
    ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$zip</tt></span>
   )</div>

  <p class="para rdfs-comment">
   Reads the next entry in a zip file archive.
  </p>
 </div>

 <a name="function.zip-read.parameters"></a><div class="refsect1 parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   </p><dl>

    <dt class="varlistentry">

     <span class="term"><i><tt class="parameter">zip</tt></i>
</span>

     </dt><dd class="listitem">

      <p class="para">
       A ZIP file previously opened with <a href="function.zip-open.php" class="function">zip_open()</a>.
      </p>
     </dd>

   
   </dl>
<p>
  </p>
 </div>

 <a name="function.zip-read.returnvalues"></a><div class="refsect1 returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns a directory entry resource for later use with the
   <i>zip_entry_...</i> functions or <b><tt class="constant">FALSE</tt></b> if
   there&#039;s no more entries to read or number of error in case of other error.
  </p>
 </div>

 <a name="function.zip-read.seealso"></a><div class="refsect1 seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   </p><ul class="simplelist">
    <li class="member"><a href="function.zip-open.php" class="function" rel="rdfs-seeAlso">zip_open()</a> - Open a ZIP file archive</li>
    <li class="member"><a href="function.zip-close.php" class="function" rel="rdfs-seeAlso">zip_close()</a> - Close a ZIP file archive</li>
    <li class="member"><a href="function.zip-entry-open.php" class="function" rel="rdfs-seeAlso">zip_entry_open()</a> - Open a directory entry for reading</li>
    <li class="member"><a href="function.zip-entry-read.php" class="function" rel="rdfs-seeAlso">zip_entry_read()</a> - Read from an open directory entry</li>
   </ul><p>
  </p>
 </div>

</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites