Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94352 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34963 invoked from network); 1 Jul 2016 09:18:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jul 2016 09:18:50 -0000 Authentication-Results: pb1.pair.com header.from=gen.work@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=gen.work@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.48 as permitted sender) X-PHP-List-Original-Sender: gen.work@gmail.com X-Host-Fingerprint: 209.85.215.48 mail-lf0-f48.google.com Received: from [209.85.215.48] ([209.85.215.48:33036] helo=mail-lf0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/51-23765-87536775 for ; Fri, 01 Jul 2016 05:18:49 -0400 Received: by mail-lf0-f48.google.com with SMTP id f6so73036464lfg.0 for ; Fri, 01 Jul 2016 02:18: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:from:date:message-id:subject:to :cc; bh=7vtIygsocjkppKOozIWdoc9RKUlZj8vqdkDZUKiXygU=; b=uZP+snKmdgiqaEF+26ziLvDluqfPxT0joFasiaOUvSs2rlJ2GiAtNhRj54Z+Z1BEzF rkxpJeUGOkTsrVhX/MC2vSMl0rfFM/ElHo//gD/3wvtvrqewNb8/KWcdXXh4n/L+l/oI qSyehVuOjNz0sMTW3eZoJ93ru2xnRFRN5Bf8NqnlBWHLBcaXppwm8FMoFTXifHubu34K 9odWrGdNqsUdtWYPbyZmeDKDUdX7l/01gI+gEmB6RlosM+tKNH5tRRaZ1w50OysZYdB8 i/6rhuVdyq+4aYbA31+1vyL9C5B1S+lO57rMw1wDc7XFzXCTLh5G1jTObnv9rzed5EGK gsKA== 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=7vtIygsocjkppKOozIWdoc9RKUlZj8vqdkDZUKiXygU=; b=KysDwhXf3SsP8FH6UyaSgEX43Q71T3LYnAe0oxlTaM4TTpBSk6Ba+KqPv87PDqwMJt /kJxJwPh1jgf1EXThfpBz5s6zipMYdBbEZsjFimBSAwZKfiZwJ7GOjf5BhDPCmaUPdRU GP61g/ODjzPfKSpsniO5bqZUThwfclX8q87N2JgmnYA16yWTTI6svZ3Cqd3/aozi73gh 1syMsEJZMG8hQgM7aSzfQyJ/g8IU2umhUmNh4bTQOVO+VWVKaqRVxeBPrZH0W4wBEeMh yFTcDZTnIAfDUWuVeYnlfzUJubB2WYdrVCoLz2vfdkhzT1xG6HSGqeKvXfrWNxUjRMBs 6jHQ== X-Gm-Message-State: ALyK8tJ5M+ujkwF/0JUOMbkxCorZSkBb29qLqGmaxu0MGmQiK8CJduW6mXy7MA52qs16KNr1Qi1p0BONZqnI3g== X-Received: by 10.25.24.163 with SMTP id 35mr5692591lfy.103.1467364726109; Fri, 01 Jul 2016 02:18:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.8.202 with HTTP; Fri, 1 Jul 2016 02:18:44 -0700 (PDT) In-Reply-To: References: <20160620222835.BC26C1A80609@dd1730.kasserver.com> <14352177-1b49-e2ed-56a3-9a770d0ebf95@gmail.com> <7fb2d4d0-551e-97a0-72cd-1b6401881f97@fischer.name> Date: Fri, 1 Jul 2016 11:18:44 +0200 Message-ID: To: =?UTF-8?B?0JzQuNGF0LDQuNC7INCS0L7RgdGC0YDQuNC60L7Qsg==?= Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a11411574417f0d05368f79f4 Subject: Re: [PHP-DEV] New escaped output operator From: gen.work@gmail.com (Eugene Leonovich) --001a11411574417f0d05368f79f4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Jul 1, 2016 at 10:51 AM, =D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB =D0= =92=D0=BE=D1=81=D1=82=D1=80=D0=B8=D0=BA=D0=BE=D0=B2 < michael.vostrikov@gmail.com> wrote: > > I can easier add a new template to e.g. a Laravel > > project (own parser, own extension, living next to existing blade > templates) > > Your project already has a template engine, and framework has common code > which works with such engines. > But how much time do you need to convert all existing templates to a new > TE? > > I mean the projects without template engine, which work and are developed > every day. > Their number is rather large - various CMSs, projects with custom core, Y= ii > and Zend don't have TE by default. > In a big project there are a lot of PHP templates with ?> or or everywhere. > If we miss this somewhere, we could got an XSS. > > > 2016-07-01 12:53 GMT+05:00 Markus Fischer : > > > On 01.07.16 05:34, =D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB =D0=92=D0=BE=D1= =81=D1=82=D1=80=D0=B8=D0=BA=D0=BE=D0=B2 wrote: > > > Because it is almost impossible to add template engine in a big proje= ct > > > with PHP templates. But new version of language usually can easily be > > used. > > > > I interpret "But new version of language usually can easily be used" as > > in a new PHP version being installed on a server touted as being > > "easier" than changing/replaced/adding a new template language componen= t > > with a framework? > > > > I object to this. I can easier add a new template to e.g. a Laravel > > project (own parser, own extension, living next to existing blade > > templates) then switching to a new PHP version on production servers. > > > > - Markus > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > In a big project there are a lot of PHP templates with or or everywhere. How will a new output operator help in this case? You still have to search for `