Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94591 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75151 invoked from network); 20 Jul 2016 17:54:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2016 17:54:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=michal.brzuchalski@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=michal.brzuchalski@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: michal.brzuchalski@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qt0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:36609] helo=mail-qt0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5F/80-52781-7CABF875 for ; Wed, 20 Jul 2016 13:54:16 -0400 Received: by mail-qt0-f170.google.com with SMTP id 52so30426603qtq.3 for ; Wed, 20 Jul 2016 10:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=f11nYDkQuA+wclNBGNiQ1bilyHiBN8KcBNZk9XQbvBU=; b=RjJWltzceDlqjyWWfqV+wOxw9DmqBDNyO6Ib0kXxZCnQ76WzvyRFcrpKfyYUr8EL/h 1LR+LuIbtMs3kAT5XiUF91LILAYgc3kixTRUp/wcEZZ0tfIwxkT5BKJzKJLerJKWk90x VtoSKSp3vseIsh4Ika369YuAkttthpew2DgxjDlFknm+cjaCEUaoCO+3QqOh1ndfRmsR t998og5l8CMWMOBlTbUdGylKx7PUZuCCCHiIySR40eGOdDbWXVlz/IyzqtZnGH/rEtiE Ad1bzgFElnr65pLcvNPFBv1cmFZiKq8z3FHMy4i6Slvpc3q3jD8g1XnOBmBFEYgQl06n k3rQ== 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:date :message-id:subject:from:to:cc; bh=f11nYDkQuA+wclNBGNiQ1bilyHiBN8KcBNZk9XQbvBU=; b=b1hNS/vGhxOJvhuX4lReDfZnT3vu24D0EnEXDSwTd/mqro73vFfTZU0vDGhlEyznEZ b2gqJTjmODsIE3E7nDyE+PwuxGNiPZiRvo2L8KDXX3L0WNx7HJ//RaLvJn24woYbIJ4d HNvZekj3bQ23vgMJxcCKoR3/FVw6ZJh4VPKYjYXHvw/JgWSkRS8kXBrS1JbjEb42/d6d sS/DqoOjG5qjhk48L5yiG7Pppxl9/6bYrLQxdOoWicR2tX0OVg4sxhzKdYtoSolyJTgA eF1n79J5nsVWFJNDEBIOoOnjvXSMjqsyd/KrtYL1WcXUmpQJgT73/0hSWLof2PpN2Dz4 jFrA== X-Gm-Message-State: ALyK8tKf6cXnRADauQ4u1hkhNqy98fsZqVDYiDuaF37CjvBg9yjCAyEgKF1B7l87IqQZE5NF07EOI83Ci/huhg== MIME-Version: 1.0 X-Received: by 10.200.57.34 with SMTP id s31mr74269644qtb.49.1469037252915; Wed, 20 Jul 2016 10:54:12 -0700 (PDT) Received: by 10.237.53.155 with HTTP; Wed, 20 Jul 2016 10:54:12 -0700 (PDT) Received: by 10.237.53.155 with HTTP; Wed, 20 Jul 2016 10:54:12 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Jul 2016 19:54:12 +0200 Message-ID: To: Michael Vostrikov Cc: PHP Internals List Content-Type: multipart/alternative; boundary=001a1141ca489f3b63053814e313 Subject: Re: [PHP-DEV] [RFC] New operator for context-dependent escaping From: michal.brzuchalski@gmail.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --001a1141ca489f3b63053814e313 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 20 lip 2016 19:03 "Michael Vostrikov" napisa=C5=82(a): > > > You are creating weird most of time unneded quite complex syntax. Just > use escaping functions or any other escaper or just simply template engin= e > as most of people does! > > I explained the reasons for implementing this operator in previous > discussion and in the "Problem description" section of the RFC. There are > many applications without template engine. 90% of output data in this > applications are from database and should be HTML-escaped. This is not a > "most of time unneeded" case. The number of similar discussion shows that > the problem really exists. Personally I don't know any developer who is using raw php in project without template engine. Missing it involves frontend developer to know PHP than just write some Twig or Smarty. But well let's see what Voting will say. --001a1141ca489f3b63053814e313--