Re: [RFC] [DISCUSSION] Deprecate PHP's short open tags V2
| From: | Stanislav Malyshev | Date: | Tue, 23 Jul 2019 20:52:50 +0000 |
| Subject: | Re: [RFC] [DISCUSSION] Deprecate PHP's short open tags V2 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106262@lists.php.net to get a copy of this message | ||
Hi!
> That's precisely what this RFC is intended to prevent.
This RFC does nothing to eliminate code written for short-tags - it is
impossible to eliminate with any RFC, in fact, it is impossible to
eliminate at all. So the only question is what is happening when server
is encountering such code.
> immediately visible in PHP 8.0. This RFC removes that danger by amending
> the 8.0 behaviour to *explicitly detecting the tags* and throwing a
> ParseError.
But only for 8.0. So if you have a bad luck of skipping .0 and going
directly for .1 you're still in the same trouble.
--
Stas Malyshev
smalyshev@gmail.com