Re: [RFC] New operator for context-dependent escaping
| From: | Michael Vostrikov | Date: | Wed, 20 Jul 2016 17:02:43 +0000 |
| Subject: | Re: [RFC] New operator for context-dependent escaping | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94590@lists.php.net to get a copy of this message | ||
> 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!
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.