# [RFC] [VOTE] Deprecate PHP's short open tags

- Thread: https://staging.externals.io/message/106026
- Original archive: https://news-web.php.net/php.internals/106026
- Started by Zeev Suraski on 2019-06-22T11:01:01+00:00
- Messages: 1
- RFC: Deprecate PHP's Short Open Tags (Obsolete) — https://staging.externals.io/rfc/deprecate_php_short_tags.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://staging.externals.io/search.md?q={query} · RFCs at https://staging.externals.io/rfc.md · JSON API at https://staging.externals.io/api · documentation at https://staging.externals.io/llms.txt

---

## #106026 — Zeev Suraski — 2019-06-22T11:01:01+00:00

URL: https://staging.externals.io/message/106026#106026

> 
>
> > […]
>
> Girgias has put up a new implementation at
> https://github.com/php/php-src/pull/4263.
>
> If short_open_tag=On and <? is used, a single deprecation warning is
> thrown. short_open_tag=On remains the default, so there will be no
> accidental code leakage due to changed defaults. If short_open_tag=Off,
> then <? in the code are ignored as usual.
>
> I believe that addresses the implementation concerns and we can go ahead
> with landing this RFC.
>

Nikita,

I wrote a fairly detailed response to why I believe we should re-do the RFC
and vote, given multiple issues with the original one.  While there was a
response to it, I very much stand by what I said in it - namely, that the
discussion was toe-deep in a way that is unbecoming for such a basic
building block (as unpopular as it may be), that some of the motivations
mentioned in the RFC were simply wrong (e.g. 'simplification of the
parser') and that the voting options were confusing - which may have
impacted the vote in certain ways.  I see no way forward other than redoing
it.  This feature has been with us for over 20 years, we can spend a couple
of more weeks deprecating it properly if we really need to (and perhaps
consider the 'legacy' extension option - providing a win-win of sorts,
where we can both move forward with 'cleanups' - but also provide a
painless path forward for the ones affected).

Zeev
