Re: New escaped output operator
| From: | Stanislav Malyshev | Date: | Mon, 20 Jun 2016 23:35:33 +0000 |
| Subject: | Re: New escaped output operator | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94166@lists.php.net to get a copy of this message | ||
Hi!
> As mentioned a few times in this thread, <?~ is an alias for <?= htmlspecialchars(, not
> more, not less.
And that is exactly the problem. Inventing operators to alias one
invocation of one function with one specific set of parameters is not a
good idea, unless there is a *VERY* good reason to do it. And the case
for this specific piece of code to deserve its own operator is rather weak.
--
Stas Malyshev
smalyshev@gmail.com