Re: [PHP-DEV] Remove alternative PHP tags

2014-09-12 Thread Ferenc Kovacs
I think Andrea raises a valid point about BC. I agree that those old tags should go, but I'd suggest we target that removal for PHP 7 and just add a deprecated flag on 5.x. nobody suggested removing them in 5.x, and while I agree that adding a deprecated notice before the removal would be

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-12 Thread Rowan Collins
Michael Kliewe wrote (on 12/09/2014): If you check Github you will see round about 10.000 code results, but most of them are tests (.phpt), example files, duplicate results, and maybe 100 projects that really use them, and I would guess 90% of these projects are rarely used and very old.

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-12 Thread Nikita Popov
On Wed, Sep 10, 2014 at 3:32 AM, Andrea Faulds a...@ajf.me wrote: I initially thought that I’m not really against removing them really, but I think we should have a script to convert them first. Because someone, somewhere, is gonna need it. I have added a small script for porting prehistoric

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-12 Thread Andrea Faulds
On 12 Sep 2014, at 19:08, Nikita Popov nikita@gmail.com wrote: I have added a small script for porting prehistoric tags, see https://wiki.php.net/rfc/remove_alternative_php_tags#porting_tool That’s great! To clarify: This only works on 5.x where asp_tags is available, yes? I am

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-11 Thread Wim Godden
On 10/09/2014 3:32, Andrea Faulds wrote: Some further thoughts after discussing with Tyrael (Ferenc) on IRC. I initially thought that I’m not really against removing them really, but I think we should have a script to convert them first. Because someone, somewhere, is gonna need it. But

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-11 Thread Kris Craig
On Tue, Sep 9, 2014 at 6:32 PM, Andrea Faulds a...@ajf.me wrote: On 10 Sep 2014, at 01:21, Andrea Faulds a...@ajf.me wrote: 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

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-11 Thread Michael Kliewe
Am 10.09.2014 um 03:32 schrieb Andrea Faulds: But then I’ve thought more about it. I’m usually OK with certain BC breaks, I just don’t like this specific one. It doesn’t affect me, but, well, I don’t see the point. It doesn’t really help language consistency or anything, (OK, sure, only two

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-10 Thread Kalle Sommer Nielsen
Hi Nikita 2014-09-10 0:08 GMT+02:00 Nikita Popov nikita@gmail.com: Hi internals! 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 Great RFC, +1. No need to defend these old nordic legacy

[PHP-DEV] Remove alternative PHP tags

2014-09-09 Thread Nikita Popov
Hi internals! 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. Nikita

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-09 Thread Leigh
On 9 September 2014 23:08, Nikita Popov nikita@gmail.com wrote: Hi internals! 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

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-09 Thread Andrea Faulds
On 9 Sep 2014, at 23:08, Nikita Popov nikita@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

Re: [PHP-DEV] Remove alternative PHP tags

2014-09-09 Thread Andrea Faulds
On 10 Sep 2014, at 01:21, Andrea Faulds a...@ajf.me wrote: 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