Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94713 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85452 invoked from network); 26 Jul 2016 15:42:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2016 15:42:09 -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.21 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.21 mout.gmx.net Received: from [212.227.17.21] ([212.227.17.21:51105] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/D0-12109-0D487975 for ; Tue, 26 Jul 2016 11:42:09 -0400 Received: from [192.168.2.103] ([217.82.227.154]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LbR3e-1b3EL045JS-00kyuP; Tue, 26 Jul 2016 17:42:05 +0200 To: Michael Vostrikov References: <4920f683-9a4d-7153-b157-a7d7ce8cbfe7@gmail.com> <933449d0-90c2-0d7a-cb80-a171289d8286@texthtml.net> <20160724145557.D52C31A80BBD@dd1730.kasserver.com> <6cfac572-9982-87f8-5a55-9213d978cde9@gmx.de> <20160724162103.BC5741A83512@dd1730.kasserver.com> <20160724172131.675AC1A800B0@dd1730.kasserver.com> <9bc0db6a-fa19-5f87-0e82-3702dcb34254@gmx.de> Cc: PHP Internals Message-ID: Date: Tue, 26 Jul 2016 17:42:18 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Vp+0QMvU8f+8GrWAuEc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HP-DEV] [RFC] New operator for context-dependent escaping From: cmbecker69@gmx.de (Christoph Becker) On 26.07.2016 at 15:15, Michael Vostrikov wrote: >> The RFC speaks of *operator*, where actually start-tags[1] are meant, to > start with. >> Using the word operator is rather confusing in this context. > > Technically yes, but there are echo operator, so it can be considered as > special construction for using echo operator. I don't think that exact work > is very important here. In my opinion, the wording is quite important in this case. An operator is supposed to be usable "anywhere" in PHP code, but most certainly you don't want to allow something like: ?> >> But what happens to additional code, e.g. >> >> > > This is new operator with new syntax. It will give parsing error. So you want to invent an own mini-language for this "operator"? That might require a lot of effort. Compare that with the implementation of ` -- Christoph M. Becker