Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94529 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81177 invoked from network); 17 Jul 2016 11:08:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2016 11:08:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=michael.vostrikov@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=michael.vostrikov@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.182 as permitted sender) X-PHP-List-Original-Sender: michael.vostrikov@gmail.com X-Host-Fingerprint: 209.85.220.182 mail-qk0-f182.google.com Received: from [209.85.220.182] ([209.85.220.182:33576] helo=mail-qk0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/E5-31884-0276B875 for ; Sun, 17 Jul 2016 07:08:16 -0400 Received: by mail-qk0-f182.google.com with SMTP id p74so136433195qka.0 for ; Sun, 17 Jul 2016 04:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9tOgKenxhTCr4ewYfSAo9E9nE6xwi7e9E1/LnMxHgJY=; b=JAYa7D3777rs+V6uqSL9+I76GW9kGiHtRNy7qX+SunvHt3dutkQ0PN9xu46xpZkeg/ GJfFweGwq/cgnKsQrVNYSJJgv7pYMJTqLIE6aYqRk6cNGuUENX7WApxXNMfPvia98R0e Uw6JYp+LucqX1njSOQrD9ry4D7WYzewKnuR9Vl8OXkPQphXdPWefQU6ZhBQCe8LOu/IY DkEfQMuzmQhqX63iGVxy2zJzcqYS9Z7yszf9NMzE9eaFWzjr3CayY8APb0ef5mzFOPZK k+u+pab64USBigS3Z5WtL6xQG0kprKCO/NG5Xk7cVvHXhWFsYEYtVXDh+W2ZrV7IUgzq XT5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9tOgKenxhTCr4ewYfSAo9E9nE6xwi7e9E1/LnMxHgJY=; b=d4tamz7+k7eeqwBDkbvdG8Jc71IvtK6NdHGMa9AE+vwpbXH9DMDh21t9BNdbV4gEar FcbSJgaFvWdAFJyl055MJWUK9StKn/Jj7famDwVb64Vr2e5kxGv9cFZTzKUw7wEA3kds M65CI5iH8DriT+3CJ1Rve2vR76Wt6X15xx3AFPoADHrdrw/IIYQmsorfrPqwt6BdrFv5 VZk3H3pwyAi8gjRw+3c7JtTFFI6RormV/hn4J1rxODp3GRw1XOmU4jncFtxUS/FR19u4 Qn5e62suM96Dq2vdoaFuivp0tupYtceqk7ewjLV+ca7mP5ldeWSdrfGY581ILctpNxLV b1Ng== X-Gm-Message-State: ALyK8tIM3e2NxYIal3BSN5r0ELuZu52CudzqeEuRsghJKmiy5OqwWwWSIGdmY07b/8zToWefJo/4hkyj9SB40w== X-Received: by 10.55.24.215 with SMTP id 84mr37811369qky.51.1468753694199; Sun, 17 Jul 2016 04:08:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.189.135 with HTTP; Sun, 17 Jul 2016 04:08:13 -0700 (PDT) In-Reply-To: References: <4cca3165052b3154eebb3a7a079c62dc@k-piste.dy.fi> Date: Sun, 17 Jul 2016 16:08:13 +0500 Message-ID: To: Niklas Keller Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a113b9dc43494390537d2dedb Subject: Re: [PHP-DEV] [RFC] New operator for context-dependent escaping From: michael.vostrikov@gmail.com (Michael Vostrikov) --001a113b9dc43494390537d2dedb Content-Type: text/plain; charset=UTF-8 > > Context should be defined where the variable is printed. Otherwise you > move the variable from HTML text to an attribute or add it somewhere else > and the context doesn't match anymore. > Well, maybe, but HTML is external context and it can be combined with other contexts depending on task. We can not know all possible tasks. Single variable is just more flexible. --001a113b9dc43494390537d2dedb--