<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/phar.fileformat.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'phar.fileformat.tar.php',
    1 => 'Tar-based phars',
    2 => 'Tar-based phars',
  ),
  'up' => 
  array (
    0 => 'phar.fileformat.php',
    1 => 'What makes a phar a phar and not a tar or a zip?',
  ),
  'prev' => 
  array (
    0 => 'phar.fileformat.comparison.php',
    1 => 'Head-to-head comparison of Phar, Tar and Zip',
  ),
  'next' => 
  array (
    0 => 'phar.fileformat.zip.php',
    1 => 'Zip-based phars',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/phar/fileformat.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="phar.fileformat.tar" class="section">
  <h2 class="title">Tar-based phars</h2>
  <p class="para">
   Archives based on the tar file format follow the more modern USTAR
   file format.  The design of the tar file header makes them more efficient
   to access than the zip file format, and almost as efficient as the phar
   file format.  File names are limited to 255 bytes, including
   full path within the phar archive.  There is no limit on the number of files
   within a tar-based phar archive.  These archives can fully compressed in
   gzip or bzip2 format and still be executed by the Phar extension.
  </p>
  <p class="para">
   There is limited support for reading tarballs in pax interchange format,
   but all recognized pax headers (currently, typeflag <code class="literal">x</code> and
   <code class="literal">g</code>) are silently ignored.
   There is also limited support for GNU Tar Archives;
   currently, <code class="literal">././@LongLink</code> headers are resolved.
  </p>
  <p class="para">
   To compress an entire archive, use <span class="function"><a href="phar.compress.php" class="function">Phar::compress()</a></span>.
   To decompress an entire archive, use <span class="function"><a href="phar.decompress.php" class="function">Phar::decompress()</a></span>.
  </p>
 </div><?php manual_footer($setup); ?>