1
0
mirror of https://github.com/php/doc-es.git synced 2026-03-23 23:12:09 +01:00
Files
archived-doc-es/reference/phar/constants.xml
2025-07-03 21:51:59 +02:00

219 lines
6.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 37280533a76693adac626a37ffc8daa2276400ce Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: no -->
<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>Las constantes de compresión Phar</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
</row>
</thead>
<tbody>
<row xml:id="phar.constants.none">
<entry>
<constant>Phar::NONE</constant>
(<type>int</type>)
</entry>
<entry>0x00000000</entry>
<entry>ninguna compresión</entry>
</row>
<row xml:id="phar.constants.compressed">
<entry>
<constant>Phar::COMPRESSED</constant>
(<type>int</type>)
</entry>
<entry>0x0000F000</entry>
<entry>máscara de bits que puede ser utilizada con los flags de fichero para determinar si se utiliza una compresión</entry>
</row>
<row xml:id="phar.constants.gz">
<entry>
<constant>Phar::GZ</constant>
(<type>int</type>)
</entry>
<entry>0x00001000</entry>
<entry>compresión zlib (gzip)</entry>
</row>
<row xml:id="phar.constants.bz2">
<entry>
<constant>Phar::BZ2</constant>
(<type>int</type>)
</entry>
<entry>0x00002000</entry>
<entry>compresión bzip2</entry>
</row>
</tbody>
</tgroup>
</table>
<table xml:id="phar.constants.fileformat">
<title>Las constantes de formato de fichero Phar</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
</row>
</thead>
<tbody>
<row xml:id="phar.constants.phar">
<entry>
<constant>Phar::PHAR</constant>
(<type>int</type>)
</entry>
<entry>1</entry>
<entry>formato de fichero phar</entry>
</row>
<row xml:id="phar.constants.tar">
<entry>
<constant>Phar::TAR</constant>
(<type>int</type>)
</entry>
<entry>2</entry>
<entry>formato de fichero tar</entry>
</row>
<row xml:id="phar.constants.zip">
<entry>
<constant>Phar::ZIP</constant>
(<type>int</type>)
</entry>
<entry>3</entry>
<entry>formato de fichero zip</entry>
</row>
</tbody>
</tgroup>
</table>
<table xml:id="phar.constants.signature">
<title>Las constantes de firma Phar</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
</row>
</thead>
<tbody>
<row xml:id="phar.constants.md5">
<entry>
<constant>Phar::MD5</constant>
(<type>int</type>)
</entry>
<entry>0x0001</entry>
<entry>firma con el algoritmo md5</entry>
</row>
<row xml:id="phar.constants.sha1">
<entry>
<constant>Phar::SHA1</constant>
(<type>int</type>)
</entry>
<entry>0x0002</entry>
<entry>firma con el algoritmo sha1</entry>
</row>
<row xml:id="phar.constants.sha256">
<entry>
<constant>Phar::SHA256</constant>
(<type>int</type>)
</entry>
<entry>0x0003</entry>
<entry>firma con el algoritmo sha256 (requiere la extensión hash)</entry>
</row>
<row xml:id="phar.constants.sha512">
<entry>
<constant>Phar::SHA512</constant>
(<type>int</type>)
</entry>
<entry>0x0004</entry>
<entry>firma con el algoritmo sha512 (requiere la extensión hash)</entry>
</row>
<row xml:id="phar.constants.openssl">
<entry>
<constant>Phar::OPENSSL</constant>
(<type>int</type>)
</entry>
<entry>0x0010</entry>
<entry>firma con un par de claves privada/pública OpenSSL. Es una verdadera
firma de clave asimétrica</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>Las constantes de sobrescritura de mime Phar webPhar</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
</row>
</thead>
<tbody>
<row xml:id="phar.constants.php">
<entry>
<constant>Phar::PHP</constant>
(<type>int</type>)
</entry>
<entry>0</entry>
<entry>utilizada para especificar el argumento de sobrescritura mime
de <function>Phar::webPhar</function> y hacer que la extensión
sea analizada como un fichero PHP</entry>
</row>
<row xml:id="phar.constants.phps">
<entry>
<constant>Phar::PHPS</constant>
(<type>int</type>)
</entry>
<entry>1</entry>
<entry>utilizada para especificar el argumento de sobrescritura mime
de <function>Phar::webPhar</function> y hacer que la extensión
sea analizada como un fichero PHP mediante <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
-->