Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106655 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 67723 invoked from network); 19 Aug 2019 16:16:15 -0000 Received: from unknown (HELO mail-vk1-f196.google.com) (209.85.221.196) by pb1.pair.com with SMTP; 19 Aug 2019 16:16:15 -0000 Received: by mail-vk1-f196.google.com with SMTP id x20so439957vkd.6 for ; Mon, 19 Aug 2019 06:46:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=352/XYYgW/zLIoV/Wodru993UQ6i38oLSdHLuoqRUAM=; b=o5iJ4+iDw/Iy+Qniho/OEiN3U33Zj7vhAmEjaSmABWhGbhpzdDIKAu72MRfHH3RM2D Z/681EPFpcHjFS6n/bN+oNKblNHydt3q2qfGvNKZAqfT/YZghppsgxJvtAOXrRK24kzQ Mx0FHM8SM5Mu7gslkwb9giABX5HRFwH+6cf8VIbI7ygbu72LplFdhLfH/O91V7SIm4B+ 0NEDnepllIfVERAtHTKfUcDTghQDYRKZ3DdUIvvXF7N+V82TAJzyTZqrjIR8WqTurhC7 XCXHpPz88cU0jBGHhos88tLLliRO+q0YEAD5bGZKbn1J1W/T0D1FNT2zXVMyIe+SdEFY 4JEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=352/XYYgW/zLIoV/Wodru993UQ6i38oLSdHLuoqRUAM=; b=FqXel15nt1HquYmVXEGEWJZaLQRKx4B2nour54Py3kocK8YSHqTHd75Kz+bhNgv/p9 bAJseHXdzQuWgJ43iTiSFvuKak7Y4Z0aeeXLWdXfOnovup+ib8n+8BCBiPVHsNr8v6DT Cdw6n3nGCqwUr37kB4ZMlk2fLZ+lBJuEKmLJpvlIBTQ91Hi3MzkMkNb0TvMZCUx2qEFh Ylvtd3Ubte3hXHJAPXIkjFodt+tJ9smAhoQR2fCtSklszwKdVlPn4lmikB9iRdpu6t4p 4fSyUj+L9GheQM96q4/sAoCGJU8avaBfh7Zw8SlgIbrLdkfvU2JiTJgetueU2jNpTCfI V+JA== X-Gm-Message-State: APjAAAVCluhmgVtE9rl+lMSvXSrgdUX03xUbSEg/+2RnPdiT5bLpi/s2 dwtPwJ+pE9e3H0VGtk/45ZfsQUJZg951EndAQn6tcKbc X-Google-Smtp-Source: APXvYqxYwRjekz9OoWVa8QWIxxdJ9SeM0Fp0ONHQpxmXOLtsHhnmn+BClXN0gNN9NLjuM/aWS8S346lxrQOB9exNyV0= X-Received: by 2002:a1f:ec41:: with SMTP id k62mr7922019vkh.32.1566222368443; Mon, 19 Aug 2019 06:46:08 -0700 (PDT) MIME-Version: 1.0 References: <20190819124747.Horde.CtqaqjDyQz2tzgbNeh9LWA8@webmail.df.eu> <80dc2bce-5212-cb13-d651-e725e7ac7992@gmx.de> In-Reply-To: Date: Mon, 19 Aug 2019 15:45:57 +0200 Message-ID: To: "Christoph M. Becker" Cc: Tobias Frei , PHP internals Content-Type: multipart/alternative; boundary="000000000000e912c70590788fa0" Subject: Re: [PHP-DEV] Re: Implement lzma (xz?) compression (was Req #63880) From: krakjoe@gmail.com (Joe Watkins) --000000000000e912c70590788fa0 Content-Type: text/plain; charset="UTF-8" Note, while reading the code I noticed it doing some odd things with strings (see casting away constness in patch) ... this wants a maintainer, I was just getting the build going [and not volunteering] ... Cheers Joe PS. Sorry about double post ... On Mon, 19 Aug 2019 at 15:42, Joe Watkins wrote: > Afternoon, > > Patch for php7: > https://gist.github.com/krakjoe/549ec38161ecd1ad9b8f16f6cf18657e > > Run with it, or not ... > > Cheers > Joe > > > On Mon, 19 Aug 2019 at 14:43, Christoph M. Becker > wrote: > >> Hi! >> >> On 19.08.2019 at 12:47, Tobias Frei wrote: >> >> > Today I was asked to contact this list about the 2013-01-01 proposal >> > described in Feature Request 63880. >> > >> > https://bugs.php.net/bug.php?id=63880 >> > >> > Please implement some kind of lzma compression, e.g. xz or lzip, >> > alongside gzip and bzip2 in php. >> > >> > The original proposal asked for xz compression; it seems that one may >> > argue in favor of a different implementation such as lzip for reasons I >> > found today at >> > https://www.nongnu.org/lzip/xz_inadequate.html >> > >> > My request, although originally made for xz compression, is about >> > implementing lzma (or any kind of modern, strong) compression in php to >> > hopefully easily replace bzip2 in user applications, such as phpBB's >> > database backup function. >> > >> > Anyone may freely open an RFC or onwiki discussion about this on my >> > behalf whenever they like to, and even if they read this message >> > multiple years later. >> >> Thanks for bringing this topic to internals@! >> >> In my opinion, this extension should start as PECL extension. This >> would allow it to be developed independently of the PHP release cycle, >> and the API could be adapted if necessary. After the extension has been >> stabilized, and if the extension turns out to be generally useful, it >> still could be bundled. >> >> Thanks, >> Christoph >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> --000000000000e912c70590788fa0--