Re: [RFC][VOTE] New operator (short tag) for context-dependent escaping
| From: | Rasmus Schultz | Date: | Sun, 07 Aug 2016 11:06:26 +0000 |
| Subject: | Re: [RFC][VOTE] New operator (short tag) for context-dependent escaping | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94894@lists.php.net to get a copy of this message | ||
Looks like it's unanimously a No.
Michael, don't be discouraged - I think that everyone agrees that there is
a problem to be solved, it's just that no one except you thinks this is a
good solution; many of us are of the opinion that it's not a solution that
really addresses the problem at all: you haven't eliminated the choice of
whether or how to escape something, you've merely changed the scope of that
choice - into global state, which clearly isn't popular.
I encourage you to keep thinking about this problem, but you should explore
entirely different directions - rethink and rephrase the problem, get to
the core of it, and a different angle on the problem might reveal itself.
On Sat, Jul 30, 2016 at 5:09 PM, Michael Vostrikov <
michael.vostrikov@gmail.com> wrote:
> Hello. The RFC 'New operator (short tag) for context-dependent escaping' is
> now in voting phase.
>
> https://wiki.php.net/rfc/escaping_operator
>
> This RFC introduces new short tag/operator, which will perform echo with an
> automatic call of escaping function.
> Voting is open till August 6, but it can be prolongated if you will decide
> that this is too small voting time for such a change.
> Voting requires 2/3 support.
>
> Thank you for voting.
>