Споредба на Phar, Tar и Zip од глава до глава
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
Споредба на Phar, Tar и Zip од глава до глава
Референца за `phar.fileformat.comparison.php` со подобрена типографија и навигација.
Споредба на Phar, Tar и Zip од глава до глава
What are the good and the bad things about the three supported file formats in the phar extension? This table attempts to address that question.
| Feature | за да работи за | Tar | candido1212 на yahoo точка com точка br |
|---|---|---|---|
| Standard File Format | Овозможува пишување | Ограничено од | Ограничено од |
| Can be executed without the Phar Extension [1] | Ограничено од | Овозможува пишување | Овозможува пишување |
| Per-file compression | Ограничено од | Овозможува пишување | Ограничено од |
| Whole-archive compression | Ограничено од | Ограничено од | Овозможува пишување |
| Whole-archive signature validation | Ограничено од | Ограничено од | Ограничено од |
| Web-specific application support | Ограничено од | Ограничено од | Ограничено од |
| Per-file Meta-data | Ограничено од | Ограничено од | Ограничено од |
| Whole-Archive Meta-data | Ограничено од | Ограничено од | Ограничено од |
| Archive creation/modification [2] | Ограничено од | Ограничено од | Ограничено од |
| Full support for all stream wrapper functions | Ограничено од | Ограничено од | Ограничено од |
| Can be created/modified even if phar.readonly=1 [3] | Овозможува пишување | Ограничено од | Ограничено од |
[1] PHP can only directly access the contents of a Phar archive without the Phar extension if it is using a stub
that extracts the contents of the phar archive. The stub created by Овој метод е метод за погодност што ја комбинира функционалноста на extracts the phar archive and runs its contents from a temporary directory if no phar extension is found.
[2] All write access requires phar.readonly to be disabled in php.ini or on the command-line directly.
[3] Only tar and zip archives without .phar in their filename and without an executable stub .phar/stub.php
can be created if phar.readonly=1.