Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102411 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62346 invoked from network); 25 Jun 2018 08:10:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2018 08:10:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.20 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.20 mout.gmx.net Received: from [212.227.17.20] ([212.227.17.20:56109] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/71-50433-C83A03B5 for ; Mon, 25 Jun 2018 04:10:52 -0400 Received: from [192.168.2.114] ([87.167.207.88]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MDW9x-1fNjYI3i6n-00Gn4F; Mon, 25 Jun 2018 10:10:47 +0200 To: Stanislav Malyshev , Nikita Popov , PHP internals References: <521ae6bb-4771-86e0-2c35-23836fa74b6e@gmail.com> Message-ID: Date: Mon, 25 Jun 2018 10:10:49 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <521ae6bb-4771-86e0-2c35-23836fa74b6e@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:pa4eDRf//dcTsOfa17NKtTs5D4hAi29KH8OBZ/AMn56Elte5Evs OLf6GQhP2bLAFB2PU5N8F+R5coApszyn530B18U87ZykVWeKhTOTSlJhTn/dl7+JDOUjxvb DqqII+25kRShnA2SJkYBg0P/gD3PJqwC9DiUCrblVyx8NuqBV4PZDVDJDZD3yYOq1/jMfvT LGKYOoCvfrt4r98T4gBiw== X-UI-Out-Filterresults: notjunk:1;V01:K0:Rsmk8hNRRMw=:UIJH02nS/0WJ5TLFTEqoek Vk+OLVWy6ec33kLv2xiZQC7iqYPGvVn4IEoFO5KBR4n1IZfyWEabdMr22nJ+MqIm8W1eu4E+E fI2cos99IR6cV/MRvigMs/heat9bMRW9R81TUKWIXdQ8cYrfdQiF9L3LdlrEvtnMpmHjSMkZs Zi81jxgdUSq+e9nhrHMlX1qK2wuLvXbTirHRPEu69GbFMmY7kXB74vc5thj+NNVJn6c3RwRCn kOq3wx3mec/e4wbOmzRMQh4Gq676cTkGalG/H61Pspfv9pxHtm7yX/MKp07K5sH3OGlrGLezF xyuIwDgn97eG1A/PaG8prL9leXzV9qN+HVGqaSemVKfwrOWtvHUQUc+O97FFkhFnHC9oygtSg KDGQHKKkUkePXrBNBMM8hUoyjDbMta1/gGHTXBcjIU5djuWDmYHMPLTLrFSxhh7DN1ZV2089+ dTB/maaboaK4Kt0m+a5w6NBXPelNuyTcy9xWm8zjDDck1egYhjO/AQQiYYDkaO5f4YwQWYPBL l4XPpD4rp048xQK6UxGTH3jTk63YXkx0BPRLhrW25lac5Ph7k1UsKWcyqpk4ko6tfHqNyLKwx 8Sbb9TKl3gU+uUd0GiI5y9myCowFyxKnNuJJFmI5swGHJtgQGVN3Xqqsq7TYuuxWvYxZT0YPO cakF98fbqfdxN8qaDBRILBIEmFXQ2IFXKXXeBWTVdfRU2k1z7gW5kh0o3zQlCyyIU/63/9fI+ l8+m4ddNzRY19lNwZ21UUuUOGHNp+oj80oOZi4ptJqO7wZwGQ5D9p8kiu2XWj8z2XzZvFeByl s1MPYJd Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 7.3 From: cmbecker69@gmx.de ("Christoph M. Becker") On 25.06.2018 at 08:12, Stanislav Malyshev wrote: >> fgetss() function and string.strip_tags filter > > I think I disagree with "strip_tags() itself, due to its limitations and > known bugs, already has very few legitimate applications" and certainly > the manual does not have any notice to that effect. I am not sure what > is the reason to remove this functionality, would like to hear more > about it - and it doesn't seem so minor as to be 1/4 of the RFC. If I > had to vote today, I'd probably vote no just on this point. > It may be true that strip_tags() alone without streaming part could be > implemented easier. However, that is not a reason to drop functionality > by itself, unless it's already completely broken. If it is, I'd like to > hear more about it. There are multiple bug reports regarding strip_tags()'s broken behavior on (slightly) malformed HTML, e.g. , and , which renders the function unusable on arbitrary user supplied input. -- Christoph M. Becker