Disponible desde phar 1.1.0 a 1.2.3, eliminado en 2.0.0. | Available from phar 1.1.0 to 1.2.3, removed in 2.0.0. |
¿Qué hace de un phar un phar y no un tar o un zip? | What makes a phar a phar and not a tar or a zip? |
El uso más común de un archivo phar es distribuir una aplicación completa en un único fichero. | The most common usage for a phar archive is to distribute a complete application in a single file. |
Por ejemplo, el Instalador de PEAR que se incluye con las versiones de PHP está distribuido como un archivo phar. | For instance, the PEAR Installer that is bundled with PHP versions is distributed as a phar archive. |
Si desea más información de las diferencias entre los tres formatos de ficheros que soporta phar, debería leer Phar, Tar y Zip. | If you want more information on the differences between the three file formats that phar supports, you should read Phar, Tar and Zip. |
La palabra phar es una composición de PHP y Archive y está basada indirectamente en el familiar jar (Java Archive) para los desarrolladores Java. | The word phar is a portmanteau of PHP and Archive and is based loosely on the jar (Java Archive) familiar to Java developers. |
Para utilizar un fichero llamado fichero.php contenido en un archivo phar /ruta/a/miphar.phar, la sintaxis es muy similar a la sintaxis file:// de arriba. | To use a file named file.php contained with a phar archive /path/to/myphar.phar, the syntax is very similar to the file:// syntax above. |
Los formatos de fichero tar y zip se pueden leer o extraer mediante cualquier herramienta de terceros que pueda leer el formato, pero necesia la extensión phar para ejecutarlo con PHP. | The tar and zip file formats can be read or extracted by any third-party tool that can read the format, but require the phar extension in order to run with PHP. |
Phar implementa esta funcionalidad a través de una Envoltura de Flujo. | Phar implements this functionality through a Stream Wrapper. |
Todo el mundo sabe acerca de Phar Lap. | Everybody knows about Phar Lap. |
