Re: Remove alternative PHP tags
| From: | Andrea Faulds | Date: | Wed, 10 Sep 2014 00:21:30 +0000 |
| Subject: | Re: Remove alternative PHP tags | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77125@lists.php.net to get a copy of this message | ||
On 9 Sep 2014, at 23:08, Nikita Popov <nikita.ppv@gmail.com> wrote:
> I've created a small RFC proposing the removal of the alternative PHP
> opening/closing tags:
>
> https://wiki.php.net/rfc/remove_alternative_php_tags
>
> It removes <% and <script language=php> and the other variations of asp and
> script tags.
Isn’t this a bit of a needless BC break? Not very nice on people with such codebases. It’s also
worth pointing out that people might be using these to get around the XML <? issue (granted, you
can disable short tags).
I’d vote for this if you wrote a convertor script to help people migrate. Otherwise I think
we’re just being unfair on people who used these tags.
Actually, I’d like to see a Python 2to3-esque tool in general for PHP 7. The easier we make the
migration, the more likely people will do it.
--
Andrea Faulds
http://ajf.me/