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 wrote: > Hello. > > As a userland developer i'm all for it. Remove short_tags and decouple > > I think that it's a little bit hasty. I would propose that the short open echo should be always enabled independently from the short_open_tag, and this sh

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 <% ? 2011

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 hav

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 o

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 wron

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: ... or wrote: > I like the idea of having an option for no tags needed, since its a .php > file (or w

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 i

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 en

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 matter? It feels like decoupling http://www.php.net/unsub.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 wrote: > > > > @all > > > > Can we decide on decoupling tag > > matter? > > It feels like decoupling seen objections or reasons for not doing it, so think we can safely assume > that it's been decided. > Awesome

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 wrote: > On Thu, May 19, 2011 at 11:17 AM, Philip Olson > wrote: > > > > > > > @all > > > > > > Can we decide on decoupling > tag > > > matter? > > > > It feels like decoupling not > > seen objections or reasons for not doing it, so think we can saf

[PHP-DEV] [PATCH] pg_escape_literal/pg_escape_identifier for pgsql

2011-05-19 Thread Yasuo Ohgaki
Hi all Current PostgreSQL has new escape functions for literals and identifiers. Since there is no function for that, I made patch for that. Attached patch is for trunk and tested with PostgreSQL 8.4 and 9.0. This patch would also applied to 5.4 branch but how about 5.3? It's pain not to have esc