Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-23 Thread Thomas Hruska
On 5/19/2011 9:00 AM, dukeofgaming wrote: @Thomas I agree on dropping% for good, I personally don't know any project that uses it and don't think there is currently any point to them anymore. Also, I do use '? ' instead of '?' (originall I thought it might throw an error, then it became

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Arvids Godjuks
Hello. As a userland developer i'm all for it. Remove short_tags and decouple ?= from them to be in PHP core always on. 2011/5/19 dukeofgaming dukeofgam...@gmail.com: So what would be there to discuss or agree on?, now that the topic is at hand. Regards, David On Wed, May 18, 2011 at

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Ferenc Kovacs
On Thu, May 19, 2011 at 8:53 AM, Arvids Godjuks arvids.godj...@gmail.comwrote: Hello. As a userland developer i'm all for it. Remove short_tags and decouple ?= from them to be in PHP core always on. I think that it's a little bit hasty. I would propose that the short open echo should be

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Arvids Godjuks
It's essentially the same what I said - move it out of stort_tags and make it On permanently. As I remember the decision to remove short_tags was made together with register_globals, magic_quotes and other legacy stuff. I can be that I remember wrongly, but really do people really use % ?

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Michael Morris
Some time ago I floated this idea without any traction. I wanted to make an RFC but never got any help in setting up an account to submit it. Here it is again: Tag style can be set from the ini file, htaccess/httpdconfig or changed at runtime. If changed at runtime it only affects files that

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Keloran
I like the idea of having an option for no tags needed, since its a .php file (or what ever you have set as your interpd name) that gets sent to the interpreter anyway, it shouldnt really need opening tag, the only thing of this that i dont like is the runtime side of it, imo that shouldnt be an

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Thomas Hruska
On 5/19/2011 12:23 AM, Arvids Godjuks wrote: It's essentially the same what I said - move it out of stort_tags and make it On permanently. As I remember the decision to remove short_tags was made together with register_globals, magic_quotes and other legacy stuff. I can be that I remember

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Rune Kaagaard
I don't think this problems calls for a more flexible solution. On the other hand I think the flexibility _is_ the problem. Today if I want to write compatible php code I can neither use: ?foreach($rows as $row):? ... or ?xml ... in my template files. Bummer! :) I would much prefer that

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Michael Morris
Something I would add to this - I personally do use short tags in an open source project because mod_rewrite functionality, implemented either at the .htaccess level or at the httpd.config level. In either event, if you can use mod_rewrite, setting the php flag for short tags is trivial so I know

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread dukeofgaming
@Michael Those are interesting ideas, I think you can register by yourself on the wiki, so you can add the RFC. OTOH, and again, I must say I really think the echo shortcut should be regarded as a separate issue, and now that there was some consensus we shouldn't deviate from the topic. In the

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Philip Olson
@all Can we decide on decoupling ?= before going back to the general short tag matter? It feels like decoupling ?= from short_open_tag will happen. And I've not seen objections or reasons for not doing it, so think we can safely assume that it's been decided. Regards, Philip -- PHP

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread dukeofgaming
On Thu, May 19, 2011 at 11:17 AM, Philip Olson phi...@roshambo.org wrote: @all Can we decide on decoupling ?= before going back to the general short tag matter? It feels like decoupling ?= from short_open_tag will happen. And I've not seen objections or reasons for not doing it, so

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-19 Thread Ferenc Kovacs
On Thu, May 19, 2011 at 7:52 PM, dukeofgaming dukeofgam...@gmail.comwrote: On Thu, May 19, 2011 at 11:17 AM, Philip Olson phi...@roshambo.org wrote: @all Can we decide on decoupling ?= before going back to the general short tag matter? It feels like decoupling ?= from

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-18 Thread Ferenc Kovacs
On Tue, Apr 14, 2009 at 8:06 PM, Philip Olson phi...@roshambo.org wrote: PLEASE, let the dead horse be! Apparently, this horse is not as dead as some would like it to be :) The horse is not dead or if so then no proper burial service was given. People are still waiting for the invitations

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-18 Thread dukeofgaming
Hi, I'm that somebody Tyrael is talking about. FTR, I'm all for deprecating short tags, but I do feel the echo shortcut is a separate issue. Perhaps if ?php= was implemented a greater deal of people on both sides of the discussion would be happier. Best regards, David On Wed, May 18, 2011 at

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-18 Thread Philip Olson
apparently somebody else brought up the shortag(specifically the ?= tag) topic again, and I've noticed that you moved the rfc from declined to In discussion recently (https://wiki.php.net/rfc/shortags?do=revisions), so I would like to know that are these rules still hold, or did something

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-18 Thread Rasmus Lerdorf
On 05/18/2011 04:47 PM, Philip Olson wrote: apparently somebody else brought up the shortag(specifically the ?= tag) topic again, and I've noticed that you moved the rfc from declined to In discussion recently (https://wiki.php.net/rfc/shortags?do=revisions), so I would like to know that

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-18 Thread Stas Malyshev
Hi! As far as I remember there weren't any serious objections to decoupling ?= and leaving it always enabled. It doesn't interfere with other PI tags in a file, and nobody else is going to come along and use it on us. That's what I think too, but since there was no agreement fixed on that, I

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-18 Thread dukeofgaming
So what would be there to discuss or agree on?, now that the topic is at hand. Regards, David On Wed, May 18, 2011 at 9:05 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! As far as I remember there weren't any serious objections to decoupling ?= and leaving it always enabled. It

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Stan Vassilev | FM
Hi, A vote in support of short tags, although last time I checked they were not removed in PHP6 (and I hate to see this brought up once more). On top of that, the supposed XML conflict argument is not fully thought through, since full PHP tags are not XML compliant either: ?php echo ?; ? In

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Rasmus Lerdorf
Stan Vassilev | FM wrote: Hi, A vote in support of short tags, although last time I checked they were not removed in PHP6 (and I hate to see this brought up once more). On top of that, the supposed XML conflict argument is not fully thought through, since full PHP tags are not XML compliant

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
I'm not suggesting anyone be forced to do anything. But: ?xml version=1.0 encoding=UTF-8 ? ... %= $this-that; % Looks neater than: ?= '?xml version=1.0 encoding=UTF-8 ?'; ? ... ?= $this-that; ? Hence my suggestion. Glen. Mike Panchenko wrote: On Mon, Apr 13, 2009 at 1:06 PM, Stanislav

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
Thanks for the information, Philip. I hereby summon the BDFL ... erm, no pressure. :-) I really think ASP/JSP tags could be the answer. Glen. Philip Olson wrote: Today this topic may be the cloudiest and most heated in all of PHP. Here's the factual history of our poor little short_open_tag

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
Which horse are you referring to exactly? Jani Taskinen wrote: PLEASE, let the dead horse be! --Jani Glen wrote: Right, but at the moment something like: ?$this-that;? .. works. i.e. no whitespace after the opening tag. Changing this would most likely break a fair amount of code.

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
Why such a complicated-looking thing (that breaks syntax-highlighting, at least in my IDE), when you can just use: ?= '?xml version=1.0 encoding=UTF-8 ?'; ? Or turn short_open_tag off (and asp_tags on), and use: ?xml version=1.0 encoding=UTF-8 ? ... %= $this-that; % Glen. Kenan Sulayman

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Jani Taskinen
PLEASE, let the dead horse be! --Jani Glen wrote: Right, but at the moment something like: ?$this-that;? .. works. i.e. no whitespace after the opening tag. Changing this would most likely break a fair amount of code. Glen. Evert | Filemobile wrote: On 13-Apr-09, at 4:06 PM, Stanislav

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
I didn't say PHP tags were valid XML. I said short_open_tag conflicts with ?xml and other PIs. % is not valid XML either, but it doesn't conflict with processing instructions. Glen. Stan Vassilev | FM wrote: Hi, A vote in support of short tags, although last time I checked they were not

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Mikko Koppanen
On Tue, Apr 14, 2009 at 1:26 PM, Glen glen...@gmail.com wrote: I didn't say PHP tags were valid XML. I said short_open_tag conflicts with ?xml and other PIs. % is not valid XML either, but it doesn't conflict with processing instructions. Glen. Hello Glen, posting to mailing-lists is

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Arvids Godjuks
Hello everyone. I've been writing ?php echo get('something')? for some time now at the last project and it really sucks. I understand reason on depricating short_open_tag and I agree. But I have a proposal witch can ease templating. Remove short open tag, but leave ?=get('blah')?. Bacicaly PHP

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread David Zülke
As Jani put it: PLEASE, let the dead horse be! - David On 14.04.2009, at 17:11, Arvids Godjuks wrote: Hello everyone. I've been writing ?php echo get('something')? for some time now at the last project and it really sucks. I understand reason on depricating short_open_tag and I agree.

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Mark Krenz
On Tue, Apr 14, 2009 at 03:11:10PM GMT, Arvids Godjuks [arvids.godj...@gmail.com] said the following: Yes, it's really irritating to write ?php echo every time! Until you get used to it. I started with PHP back in 98 and remember a bit of resistance in learning the ?php thing, but I knew it

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Stanislav Malyshev
Hi! PLEASE, let the dead horse be! Apparently, this horse is not as dead as some would like it to be :) -- Stanislav Malyshev, Zend Software Architect s...@zend.com http://www.zend.com/ (408)253-8829 MSN: s...@zend.com -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Philip Olson
PLEASE, let the dead horse be! Apparently, this horse is not as dead as some would like it to be :) The horse is not dead or if so then no proper burial service was given. People are still waiting for the invitations and wanting to hear the eulogy. So, instead I'll make the following

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-13 Thread Kalle Sommer Nielsen
2009/4/13 Jeremy jer...@pinacol.com: Glen wrote: It's short, and it doesn't conflict with XML. I have to say, I don't understand all the hate on short_open_tag.  So what if it conflicts with XML?  PHP is not XML.  If you use an XML construct in your PHP, escape it.  PHP can generate a lot

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-13 Thread James Logsdon
I think that's what he meant by escape it. I haven't used short_open_tags myself much, but as I've been exploring templating options I like it for outputting variables. James Logsdon On Mon, Apr 13, 2009 at 2:24 PM, Kalle Sommer Nielsen ka...@php.net wrote: 2009/4/13 Jeremy jer...@pinacol.com:

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-13 Thread Glen
It was not my intention to initiate a massive debate regarding the use of short_open_tag. I posted for two reasons: 1. To ask if short_open_tag has been deprecated in PHP 6. 2. To suggest asp_tags as the recommended option for templating in PHP (to keep both crowds* happy). * The crowd *for*

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-13 Thread Mike Panchenko
On Mon, Apr 13, 2009 at 1:06 PM, Stanislav Malyshev s...@zend.com wrote: It's a pretty small use case (that's a problem only if you have xml documents which has to have php code which has to be inlined) and as you see, can be easily handled. I think that should not make whole very useful

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-13 Thread Evert | Filemobile
On 13-Apr-09, at 4:06 PM, Stanislav Malyshev wrote: Hi! Thats because with short_open_tags on, you need to use: ?php echo('?xml ... ?'); ? It's a pretty small use case (that's a problem only if you have xml documents which has to have php code which has to be inlined) and as you see,

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-13 Thread Philip Olson
Today this topic may be the cloudiest and most heated in all of PHP. Here's the factual history of our poor little short_open_tag directive: php.ini values : short_open_tag PHP 4, 5_0 *

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-13 Thread Kenan Sulayman
Hey Guys, Whenever I start an XHTML document, I do escape it this way: ?=??xml version=1.0 encoding=utf-8? Where the ? part will be the output by PHP. ?=?? equals ? print ? ? equals ?php print ? ? So, please do not deprecate it - because it's important for me :$ Thanks, (c) Kenan Sulayman