Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-05 Thread Stanislav Malyshev
Hi! Right, I think that is actually the conclusion we came to at one point. I don't remember the discussion that caused the RFC to be declined. I would be in favour of reversing that decision wherever it came from. Amen to that! And that just isn't going to happen. The only valid

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-05 Thread Hannes Magnusson
On Fri, Jun 5, 2009 at 07:47, Rasmus Lerdorfras...@lerdorf.com wrote: Nobody is going to pass a PHP script through an XML parser, and PHP itself will never be well-formed, so that is a lost cause.  We'd have to start tossing CDATA blocks and write code like:  if( 2 lt; 3 ) echo 2 is less than

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-05 Thread Rasmus Lerdorf
Hannes Magnusson wrote: On Fri, Jun 5, 2009 at 07:47, Rasmus Lerdorfras...@lerdorf.com wrote: Nobody is going to pass a PHP script through an XML parser, and PHP itself will never be well-formed, so that is a lost cause. We'd have to start tossing CDATA blocks and write code like: if( 2

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-05 Thread Stan Vassilev
Hi, Plain ? has an additional problem of affecting the ability to include XML files from PHP source code. readfile('file.xml'); From what I know, in the future versions of PHP short tags are going to be disabled by default. Considering the conflicts with XML syntax, that's understandable.

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-05 Thread Philip Olson
On Jun 5, 2009, at 12:53 AM, Rasmus Lerdorf wrote: Hannes Magnusson wrote: On Fri, Jun 5, 2009 at 07:47, Rasmus Lerdorfras...@lerdorf.com wrote: Nobody is going to pass a PHP script through an XML parser, and PHP itself will never be well-formed, so that is a lost cause. We'd have to

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-05 Thread Stanislav Malyshev
Hi! So it feels like decoupling ?= from short_open_tag is on the table. Rasmus or Stas, could you please propose exactly how this might happen? My proposal would be very simple: 1. short_open_tag setting removed in 6, ? is no longer PHP code tag under any circumstances. 2. ?= is always

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-05 Thread Brian Moon
On 6/5/09 2:17 PM, Stanislav Malyshev wrote: Hi! So it feels like decoupling ?= from short_open_tag is on the table. Rasmus or Stas, could you please propose exactly how this might happen? My proposal would be very simple: 1. short_open_tag setting removed in 6, ? is no longer PHP code tag

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-05 Thread Stanislav Malyshev
Hi! No, #1 in your list is why people got sick of it. You want to bind the decoupling of ?= as a short tag to the removal of short tags. They are two different issues. I do not insist on 1. I'd be ok with not touching short tags but just moving ?= to non-short. I just think once ?= is

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-04 Thread Roman I
Philip Olson wrote: On May 30, 2009, at 12:49 PM, Roman I wrote: Philip Olson wrote: On May 18, 2009, at 5:33 PM, Roman I wrote: This neither answers nor invalidates the original question, though. Unfortunately I do not remember everything about this but do know that: - Decoupling

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-04 Thread Rasmus Lerdorf
Roman I wrote: Philip Olson wrote: On May 30, 2009, at 12:49 PM, Roman I wrote: Philip Olson wrote: On May 18, 2009, at 5:33 PM, Roman I wrote: This neither answers nor invalidates the original question, though. Unfortunately I do not remember everything about this but do know that: -

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-03 Thread Philip Olson
On May 30, 2009, at 12:49 PM, Roman I wrote: Philip Olson wrote: On May 18, 2009, at 5:33 PM, Roman I wrote: From what I know, in the future versions of PHP short tags are going to be disabled by default. snip Common misunderstanding but the short_open_tag directive will never be

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-06-03 Thread Michael
In summary: It's a topic people don't want to talk about. :) The ?= issue is really quite significant however, it seems quite a common topic of confusion at freenode's ##php. Lots of ZF examples and other mainstream code uses ?= and it seems a very good idea to use it... however it's very

Re: [PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-05-30 Thread Roman I
Philip Olson wrote: On May 18, 2009, at 5:33 PM, Roman I wrote: From what I know, in the future versions of PHP short tags are going to be disabled by default. snip Common misunderstanding but the short_open_tag directive will never be disabled by default. There are distributed

[PHP-DEV] Is there a technical reason ?= considered a short tag?

2009-05-18 Thread Roman I
From what I know, in the future versions of PHP short tags are going to be disabled by default. Considering the conflicts with XML syntax, that's understandable. However, is there a technical reason to consider ?= a short tag? From what I know, it doesn't conflict with XML notation, and it is