<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<appendix xml:id="phar.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.constants;
 &extension.constants;
  <table xml:id="phar.constants.compression">
   <title>Phar compression constants</title>
   <tgroup cols="3">
    <thead>
     <row>
      <entry>Constant</entry>
      <entry>Value</entry>
      <entry>Description</entry>
     </row>
    </thead>
    <tbody>
     <row xml:id="phar.constants.none">
      <entry>
       <constant>Phar::NONE</constant>
       (<type>int</type>)
      </entry>
      <entry>0x00000000</entry>
      <entry>no compression</entry>
     </row>
     <row xml:id="phar.constants.compressed">
      <entry>
       <constant>Phar::COMPRESSED</constant>
       (<type>int</type>)
      </entry>
      <entry>0x0000F000</entry>
      <entry>bitmask that can be used with file flags to determine if any compression is present</entry>
     </row>
     <row xml:id="phar.constants.gz">
      <entry>
       <constant>Phar::GZ</constant>
       (<type>int</type>)
      </entry>
      <entry>0x00001000</entry>
      <entry>zlib (gzip) compression</entry>
     </row>
     <row xml:id="phar.constants.bz2">
      <entry>
       <constant>Phar::BZ2</constant>
       (<type>int</type>)
      </entry>
      <entry>0x00002000</entry>
      <entry>bzip2 compression</entry>
     </row>
    </tbody>
   </tgroup>
  </table>
  <table xml:id="phar.constants.fileformat">
   <title>Phar file format constants</title>
   <tgroup cols="3">
    <thead>
     <row>
      <entry>Constant</entry>
      <entry>Value</entry>
      <entry>Description</entry>
     </row>
    </thead>
    <tbody>
     <row xml:id="phar.constants.phar">
      <entry>
       <constant>Phar::PHAR</constant>
       (<type>int</type>)
      </entry>
      <entry>1</entry>
      <entry>phar file format</entry>
     </row>
     <row xml:id="phar.constants.tar">
      <entry>
       <constant>Phar::TAR</constant>
       (<type>int</type>)
      </entry>
      <entry>2</entry>
      <entry>tar file format</entry>
     </row>
     <row xml:id="phar.constants.zip">
      <entry>
       <constant>Phar::ZIP</constant>
       (<type>int</type>)
      </entry>
      <entry>3</entry>
      <entry>zip file format</entry>
     </row>
    </tbody>
   </tgroup>
  </table>
  <table xml:id="phar.constants.signature">
   <title>Phar signature constants</title>
   <tgroup cols="3">
    <thead>
     <row>
      <entry>Constant</entry>
      <entry>Value</entry>
      <entry>Description</entry>
     </row>
    </thead>
    <tbody>
     <row xml:id="phar.constants.md5">
      <entry>
       <constant>Phar::MD5</constant>
       (<type>int</type>)
      </entry>
      <entry>0x0001</entry>
      <entry>signature with md5 hash algorithm</entry>
     </row>
     <row xml:id="phar.constants.sha1">
      <entry>
       <constant>Phar::SHA1</constant>
       (<type>int</type>)
      </entry>
      <entry>0x0002</entry>
      <entry>signature with sha1 hash algorithm</entry>
     </row>
     <row xml:id="phar.constants.sha256">
      <entry>
       <constant>Phar::SHA256</constant>
       (<type>int</type>)
      </entry>
      <entry>0x0003</entry>
      <entry>signature with sha256 hash algorithm (requires hash extension)</entry>
     </row>
     <row xml:id="phar.constants.sha512">
      <entry>
       <constant>Phar::SHA512</constant>
       (<type>int</type>)
      </entry>
      <entry>0x0004</entry>
      <entry>signature with sha512 hash algorithm (requires hash extension)</entry>
     </row>
     <row xml:id="phar.constants.openssl">
      <entry>
       <constant>Phar::OPENSSL</constant>
       (<type>int</type>)
      </entry>
      <entry>0x0010</entry>
      <entry>signature with OpenSSL public/private key pair.  This is a true,
      asymmetric key signature.</entry>
     </row>
     <row xml:id="phar.constants.openssl-sha256">
      <entry>
       <constant>Phar::OPENSSL_SHA256</constant>
       (<type>int</type>)
      </entry>
      <entry/>
      <entry/>
     </row>
     <row xml:id="phar.constants.openssl-sha512">
      <entry>
       <constant>Phar::OPENSSL_SHA512</constant>
       (<type>int</type>)
      </entry>
      <entry/>
      <entry/>
     </row>
    </tbody>
   </tgroup>
  </table>
  <table xml:id="phar.constants.mimeoverride">
   <title>Phar webPhar mime override constants</title>
   <tgroup cols="3">
    <thead>
     <row>
      <entry>Constant</entry>
      <entry>Value</entry>
      <entry>Description</entry>
     </row>
    </thead>
    <tbody>
     <row xml:id="phar.constants.php">
      <entry>
       <constant>Phar::PHP</constant>
       (<type>int</type>)
      </entry>
      <entry>0</entry>
      <entry>used to instruct the mimeoverrides parameter
      of <function>Phar::webPhar</function> that the extension should be
      parsed as a PHP file</entry>
     </row>
     <row xml:id="phar.constants.phps">
      <entry>
       <constant>Phar::PHPS</constant>
       (<type>int</type>)
      </entry>
      <entry>1</entry>
      <entry>used to instruct the mimeoverrides parameter
      of <function>Phar::webPhar</function> that the extension should be
      parsed as a PHP source file through <function>highlight_file</function></entry>
     </row>
    </tbody>
   </tgroup>
  </table>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
