Req #63880 [Com]: Implement xz compression

From: Date: Tue, 08 May 2018 18:00:39 +0000
Subject: Req #63880 [Com]: Implement xz compression
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215164@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63880&edit=1 ID: 63880 Comment by: spam2 at rhsoft dot net Reported by: tobias at freiwuppertal dot de Summary: Implement xz compression Status: Open Type: Feature/Change Request Package: *Compression related Operating System: Irrelevant PHP Version: 7.1.0 Block user comment: N Private report: N New Comment: for .phar XZ is nonsense in 2018, compare it with zstd and look at ressources / compression-rates Previous Comments: ------------------------------------------------------------------------ [2018-05-08 17:47:03] theo dot fidry at gmail dot com Hi, If that feature is ever supported (which I hope and would be awesome), it would also be a nice addition to add it as a possible compression mode for PHARs as well (see https://github.com/humbug/box/issues/211#issuecomment-387480271) ------------------------------------------------------------------------ [2017-06-03 07:28:15] asmqb7 at gmail dot com Wanted to bump this and request that - Some tests are written to provide some reassurance that the extension is not so likely to bomb out under production load (case in point: one of the latest commits (from 4 years ago!) is "Fix SIGSEGV."!!) - Stream compression be properly supported - the use case I wanted to use this for is not strictly file-based (I'm doing my own file/protocol/format management). - LZMA format options be surfaced - Low-level functionality such as (for example) LZMA protocol streams (not PHP streams!) are exposed for people who need to shove a lot of data through LZMA2 with fine control Thanks so much for contributing LZMA2 support to PHP. There are no other extensions that support this form of compression. FWIW, because php-xz does not support #2 above I'll have to look for other solutions :( so I'm just adding this to the record to note the kind of demand that's out there. ------------------------------------------------------------------------ [2016-12-07 14:43:06] tobias at freiwuppertal dot de By the way, ironically, php itself (!) is distributed as an xz-compressed archive: https://secure.php.net/downloads.php ------------------------------------------------------------------------ [2016-12-07 14:37:35] tobias at freiwuppertal dot de Defining a version number to make people aware of this bug. 2013-01-01! ------------------------------------------------------------------------ [2013-02-25 16:31:35] tobias at freiwuppertal dot de Starred & watching :-) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=63880 -- Edit this bug report at https://bugs.php.net/bug.php?id=63880&edit=1

« previous php.bugs (#215164) next »