Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103267 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 44589 invoked from network); 27 Sep 2018 13:08:03 -0000 Received: from unknown (HELO mout.gmx.net) (212.227.15.15) by pb1.pair.com with SMTP; 27 Sep 2018 13:08:03 -0000 Received: from [192.168.2.137] ([91.8.166.159]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MLfLH-1g6HLx08zT-000pPq; Thu, 27 Sep 2018 11:16:22 +0200 To: Nikita Popov , Stanislav Malyshev Cc: PHP internals References: <5518056b-150f-517c-2c24-09d5da4414f0@gmx.de> <3a3a59bf-98a3-764d-def2-e514f506edfc@gmail.com> <2e82ff1a-7045-3b7e-3feb-bfdac29883e9@gmx.de> <2f30a0da-c15a-8723-bebd-4143d49cf032@gmail.com> <7fbac401-d15f-e7fe-2792-41f5c8cea411@gmail.com> Message-ID: <4499b764-c323-15de-6735-2f67ac83116b@gmx.de> Date: Thu, 27 Sep 2018 11:16:21 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Und1Dn+zudBzJiklAocf6dNu7Csaks9aY9QA5gJU8n2cGNT4njG RIrCT7aeI5tRHIboUMFsqNzKNK0XIZ5A5oCYQ+7qWZHY+H+T+Zjq+IfW7x03kcOgmbHNwfo 5Z2PNQK1WCS/nf+lqGyXmGdTA2ul9bdWoIHMkvdo8TQ2D10+mohkiW8nHzhzuy2ecriVdjE 6UFBbAPoNZI03DN/g4CUA== X-UI-Out-Filterresults: notjunk:1;V01:K0:7kGsi64Ubf0=:7QjKVVxO/j4Di2QNKwCY4b 3ilzuE4cG9LIEA3CcpB4A5LagF/yvbvq27WVGeY//LXR+Fgmc3IY28o36HaL9xqXOimeTvIka Wnapq1AlZHpoNJE0L3Jnm33bLHDDehRaTuMFyls4qsF4kwY+5r2sY+VUnvUDoYWeheH4AZloA pWPqMGnadEIwowREZP9iX2teP/qvsCdI5RhzgWlt2ZOqGtE2GL+8KWIdr3I/JMPFw1p47icU6 3z5Phc0PTuoyAfRlRgJcwbtg/FrOGje4wMTbMdjlOEVl85SXV5fyrI4rHv0SZHdyDBHl1z6eY JkY6JoSOjnbe+vnxGMGf+1v0kQwxNqdAP0AocPEMid+eHiUyfiqnN8iaXHskT0om155hiJIfg dH2AZ4BG7UrdpSZc4qfCwxMKgX/b1zsnfvoeliJZXRn/fFsL8Ly/XutdXry1jV+KUbtZljUHd O20WxptXvhDVSzf8F6uD4IDA0WXVitSdC7/AYIc2WCSZHiAgnJKroGlvgRHEDGIDXtsDagqDk s12ZtgJBtH18ihvzn4NX4MCjNDAljLQPEh1sSVlKhUN6PSq0X8hUmXJ2ICkMecusXbACYYxP8 nLDzA+4SP7YE0XMSE38fHzBqH3e6SgEGfIvfSxSJAZV4/H5B+0FEKZQWVExnLe9jEvooR3e3E 4AGthQyYg4Zqkq+tGQPdPcZv6CR1ymsFMidLZtfNk6AXZizdNezBy0jKJmasymKWxnAZGIH7b uNy9Rs+tLpfCCOtISL23UVDsKx2tpHHIYZNAkv2tZDPUcEps3gRs4P2oHlYhZfu49dY3v8Aih sHEvhDXCsJXpbvYxLnpYnMaxiIbcAM/cBnU5RtD5XUu0hPiPvc= Subject: Re: [PHP-DEV] [RFC} Deprecate and Remove ext/wddx From: cmbecker69@gmx.de ("Christoph M. Becker") On 25.09.2018 at 14:08, Nikita Popov wrote: > On Thu, Sep 20, 2018 at 7:02 PM Stanislav Malyshev > wrote: > >>> We have deprecated and moved to PECL a number of extensions in the >>> recent past. These were mysql and ereg in PHP 7.0 and mcrypt in PHP 7.2. >>> I have always understood these moves as "sunsetting" the extensions, in >>> the sense of strongly discouraging their continued use, as well as >>> removing any promise of further maintenance. The move to PECL rather >>> than outright deletion of the code is just a matter of general policy >>> (or so I thought). >> >> I think we should distinguish between the two cases - not having >> extension in core and deprecating the extension. Unless we declare that >> the only function of PECL now is to serve as a graveyard for archival of >> deprecated code. I don't think we really want to do that? If yes, than >> we should distinguish between deprecating the extension and just moving >> it to PECL. > > Sure, generally speaking we can also move an extension to PECL without > deprecation -- for example if it does not appear to be commonly used > anymore and we do not want to maintain it in php-src, but otherwise nothing > is wrong with the extension and its use. > > However, this is not the case for the last three moves to PECL we did. In > those cases we always wanted to explicitly discourage further use of the > extension. The same is true for ext/wddx. It's not just a matter of nobody > using WDDX in 2018, we also have specific security concerns which make > continued use of this extension dangerous. If your code breaks because we > dropped ext/wddx, you should not be able to type "pecl install wddx" and go > back to ignoring the issue. > > By the way, I'm fine with moving the extension to PECL already in PHP 7.4, > the part that's important to me is that it's going to generate some form of > diagnostics once in PECL. We may also consider to only deprecate the object deserialization, and move to PECL right away, which has been suggested by Zeev a year ago[1]. Anyhow, I really don't mind *what* exactly we do with ext/wddx, but rather *that* we do something. We had this discussion already last year, but nothing happened. I'm not keen to change the RFC to offer multiple choices (since I feel this is generally suboptimal), particularly if we had: * Deprecate * deprecate all functionality * deprecate object deserialization only * don't deprecate anything * (Re)move * Move to PECL * sunset the extension * PHP Version * PHP 7.4 * PHP 8 [1] -- Christoph M. Becker