Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94587 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61841 invoked from network); 20 Jul 2016 14:41:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2016 14:41:49 -0000 Authentication-Results: pb1.pair.com header.from=michal.brzuchalski@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=michal.brzuchalski@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.169 as permitted sender) X-PHP-List-Original-Sender: michal.brzuchalski@gmail.com X-Host-Fingerprint: 209.85.216.169 mail-qt0-f169.google.com Received: from [209.85.216.169] ([209.85.216.169:33048] helo=mail-qt0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/6E-52781-CAD8F875 for ; Wed, 20 Jul 2016 10:41:49 -0400 Received: by mail-qt0-f169.google.com with SMTP id w38so27416495qtb.0 for ; Wed, 20 Jul 2016 07:41:48 -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=KY8ZWT0oZEGBP5zWW+AHCG0QmrrqZA10870gxUlsMSk=; b=hA1tJTz1KQgxlerHasyBXR0G9a7zfrDTPjZTF6aS7D3xINUfv46WoRj9ODu/e/U6+3 I5V9De55AtTopiA5jm87jzZvdBD4ixt9zgZUAohtGRvau74cxtQh7PLV+OsdX2jjjYIE SMczGdZGRKrhFH7AwMxLz8gvSVCljrbyUkdIxvP0CY21Jrl79X03wNEEkYEzr5yvaZyt 1ZJbszcvUhmZl7OBnQ/5KZtzhBhaW6IPPR14FzBgxRG/zeipLh9bBlkudkUAQuzuXG3W M1sX1TinrEoiWI/zMyxvBsO3Lb6YvuhFI/w//LjZVmOrrAjOfp1fhHvA4EJIhsvPFZi6 NGag== 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=KY8ZWT0oZEGBP5zWW+AHCG0QmrrqZA10870gxUlsMSk=; b=kLe7qDklW8Pivxtxs8Y3CDJnCKFuMhCZCMAXF6d7iEeNt1lPh7QzO6HYkeQlO8jpHH Q2asObNaQ1QuhkN+vuUoPSAzKiMdSCHxKZ7OGO9dgZzkzwTnTDlJ4OVlIuFFMMJPwg6F uB8IakFOtroabaPSWeB1xMyuPUSrZAtRvMmtWFzKURG469EngetUswwxPmLvdeqNJHzd TC68tSyov9Y2ZpOEep5Y2Xvya24iue9c35/wCZ3x94AsXuq9GKtYwT559pU1LAJINGtL u1ZUQlosAwrViWd+eBWFmUUkx2mN5eJlcveWl7howZAc5qoZy8xpJHYBMs0PoLapCZgN EeLw== X-Gm-Message-State: ALyK8tJk7lVt4Cs6nDU9Sap3y0eY7jlsoL4h5LDg0QvfrgPn4ewsmg6yYdg7RDR2lo6XNB87R8/EyQoMXNf5PQ== MIME-Version: 1.0 X-Received: by 10.200.57.34 with SMTP id s31mr72872687qtb.49.1469025705651; Wed, 20 Jul 2016 07:41:45 -0700 (PDT) Received: by 10.237.53.155 with HTTP; Wed, 20 Jul 2016 07:41:45 -0700 (PDT) Received: by 10.237.53.155 with HTTP; Wed, 20 Jul 2016 07:41:45 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Jul 2016 16:41:45 +0200 Message-ID: To: Michael Vostrikov Cc: PHP Internals List Content-Type: multipart/alternative; boundary=001a1141ca4859f7bb053812336d Subject: Re: [PHP-DEV] [RFC] New operator for context-dependent escaping From: michal.brzuchalski@gmail.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --001a1141ca4859f7bb053812336d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You are creating weird most of time unneded quite complex syntax. Just use escaping functions or any other escaper or just simply template engine as most of people does! 19 lip 2016 21:52 "Michael Vostrikov" napisa=C5=82(a): > > This can be used for all context-dependent text transformations > On the other hand, this is possible now with | html' ?>. And list of arguments will not be needed if the second argume= nt > will be an array. Ok, nevermind. > --001a1141ca4859f7bb053812336d--