Re: [RFC] [DISCUSSION] Deprecate PHP's short open tags V2
| From: | Peter Bowyer | Date: | Wed, 24 Jul 2019 08:32:01 +0000 |
| Subject: | Re: [RFC] [DISCUSSION] Deprecate PHP's short open tags V2 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106280@lists.php.net to get a copy of this message | ||
On Tue, 23 Jul 2019 at 21:56, Nikita Popov <nikita.ppv@gmail.com> wrote:
> I did not want to just merge the original (accepted!) implementation after
> the controversial discussion it triggered, but after reading this, I
> realize that I just wasted my time here. So much for being nice and giving
> people a fair change to reevaluate the proposal in light of the new
> arguments that have been brought forward. I guess that next time I'll just
> go ahead and merge things.
On Wed, 24 Jul 2019 at 04:51, <vsuraski@gmail.com> wrote:
> - The motivation for removing short tags today is a lot weaker than the
> motivation was not to add it in the first place back in 1998 (XML being a
> lot less important). This makes for an unreasonable basis for deprecation.
>
I think it fair to say:
1. The RFC to remove short open tags passed
2. The backwards-compatibility break is contentious
I move an alternative motion: that short open tags do not change in PHP
7.4, throw a deprecation warning in PHP 8.X, and what happens next (e.g.
removal) is left for a future, PHP 9 RFC. The manual is updated to say they
are deprecated and will be removed in future, to dissuade new usage.
Sure, this is "kicking the can" down the road. It's also a proposal I hope
both sides can support.
Peter