Re: New escaped output operator
| From: | Lester Caine | Date: | Fri, 01 Jul 2016 08:07:51 +0000 |
| Subject: | Re: New escaped output operator | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94350@lists.php.net to get a copy of this message | ||
On 30/06/16 23:46, Thomas Bley wrote:
>> What for?
> <?html= $foo.$bar ?> is easy to verify
>
> <?= html($foo).$bar ?> is not easy to verify
But a fixed version of <?html= is just a single subset of filtering,
while html($foo) can correctly handle differences. The reason it's not
easy to 'verify' is because it has flexibility in it's operation which
forcing a single configuration just to make some operations easy does
not provide.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk