Re: [PHP-DEV] RE : [PHP-DEV] dropping asp_tags in HEAD

2007-04-23 Thread Stefan Walk
On 23/04/07, LAUPRETRE François (P) [EMAIL PROTECTED] wrote: +1 for '?php=' without the trailing ';'. Just on a side note, the ; before ? is redundant already, as ? (or any other close-tag) will do that implicitely. Regards, Stefan -- PHP Internals - PHP Runtime Development Mailing List To

[PHP-DEV] RE : [PHP-DEV] dropping asp_tags in HEAD

2007-04-23 Thread P
+1 for '?php=' without the trailing ';'. From: Guilherme Blanco [mailto:[EMAIL PROTECTED] If you plan to go far and remove the ? tags, so I suggest to include a ?php=$something? into PHP. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-16 Thread Richard Lynch
On Sat, April 14, 2007 4:49 am, Bart de Boer wrote: And let me stress that this is something we're *forcing* people to do when they're on a short tags enabled server... It's not something they're allowed to do at free will... PHP's convention is currently responsible for people creating

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-16 Thread Richard Lynch
On Sat, April 14, 2007 11:07 am, Marcus Boerger wrote: Hello Guilherme, ?= is also not confirm toxml spec. What we could do is ?echo. I just don't understand why you think PHP source should conform to XML spec... I might use PHP to produce compliant XML. But my PHP source code itself is

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-16 Thread Richard Lynch
PHP source as an XML document... [shudder] -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-16 Thread Bart de Boer
plans of the php group. Regards, Oliver - original Nachricht Betreff: Re: [PHP-DEV] dropping asp_tags in HEAD Gesendet: So, 15. Apr 2007 Von: Bart de Boer[EMAIL PROTECTED] The XML standard... HTML 4.01 compliance seems a bit trivial since there's already so much forgiveness going

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-15 Thread David Lindstrom
I suggest adding a new php.ini option: ignore_xml_tags, default to on, which would cause the parser to just ignore ?xml .. ? tags. -- // DvDmanDT mail: dvdmandt¤telia.com msn: dvdmandt¤hotmail.com Bart de Boer [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] I think ASP tags

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-15 Thread Marcus Boerger
Hello David, we're not going to add ini settings just to support worse code. best regards marcus Sunday, April 15, 2007, 8:14:12 AM, you wrote: I suggest adding a new php.ini option: ignore_xml_tags, default to on, which would cause the parser to just ignore ?xml .. ? tags. -- //

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-15 Thread Bart de Boer
The XML standard... HTML 4.01 compliance seems a bit trivial since there's already so much forgiveness going on around that spec anyway... Oliver Block wrote: Am Samstag, 14. April 2007 11:49 schrieb Bart de Boer: PHP's convention is currently responsible for people creating

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-15 Thread Marcus Boerger
Hello Bart, HTML is an SGML application while XHTML is an XML application. And XML is basically a subset of SGML... best regards marcus Sunday, April 15, 2007, 12:30:01 PM, you wrote: The XML standard... HTML 4.01 compliance seems a bit trivial since there's already so much forgiveness

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Bart de Boer
I think ASP tags should go too... Simply because it's not standards compliant and I think it's good if people are forced to make nice standards compliant documents... I'd even go so far as to favor dropping short tags too... ? echo ?xml version=\1.0\ encoding=\UTF-8\ ?\n; ? What a mess!...

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Tijnema !
On 4/14/07, Bart de Boer [EMAIL PROTECTED] wrote: I think ASP tags should go too... Simply because it's not standards compliant and I think it's good if people are forced to make nice standards compliant documents... I'd even go so far as to favor dropping short tags too... ? echo ?xml

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Bart de Boer
And let me stress that this is something we're *forcing* people to do when they're on a short tags enabled server... It's not something they're allowed to do at free will... PHP's convention is currently responsible for people creating non-standards-compliant documents... And I think we

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Stut
Bart de Boer wrote: I think ASP tags should go too... Simply because it's not standards compliant and I think it's good if people are forced to make nice standards compliant documents... I'd even go so far as to favor dropping short tags too... ? echo ?xml version=\1.0\ encoding=\UTF-8\ ?\n;

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Rasmus Lerdorf
PHP was never meant to win any beauty contests, nor to enforce standards. If you want to take your argument to its logical conclusion then you have to also take the next step and not allow literal entities inside the PHP blocks, because that is also not standards compliant. That means you cannot

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Bart de Boer
I feel I can't disagree with my hero. :) But is that really so? The XML spec says: PI ::= '?' PITarget (S (Char* - (Char* '?' Char*)))? '?' Doesn't Char* mean any char? All the parsers seem to accept '' inside PI's without problems too. Furthermore... PHP may not be the most beautiful of

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Guilherme Blanco
If you plan to go far and remove the ? tags, so I suggest to include a ?php=$something? into PHP. Best regards, On 4/14/07, Stut [EMAIL PROTECTED] wrote: Bart de Boer wrote: I think ASP tags should go too... Simply because it's not standards compliant and I think it's good if people are

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Marcus Boerger
Hello Guilherme, ?= is also not confirm toxml spec. What we could do is ?echo. best regards marcus Saturday, April 14, 2007, 6:01:37 PM, you wrote: If you plan to go far and remove the ? tags, so I suggest to include a ?php=$something? into PHP. Best regards, On 4/14/07, Stut [EMAIL

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Chris Malton
The last time I used ASP tags: Never. I wish they'd just go forever! People keep trying to use the on my servers, fail and ask me to turn PHP's asp_tags on, I refuse, because I run a shared PHP install, and so they move off elsewhere, rather than change their code. As it is, PHP is loosing me

RE: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Uwe Schindler
, 2007 6:02 PM To: Stut Cc: Bart de Boer; [EMAIL PROTECTED]; Tijnema !; [EMAIL PROTECTED]; Chad Daelhousen; Ron Korving Subject: Re: [PHP-DEV] dropping asp_tags in HEAD If you plan to go far and remove the ? tags, so I suggest to include a ?php=$something? into PHP. Best regards, On 4

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Nicolas A. Bérard-Nault
Maybe I'm missing something here, but why should PHP be compliant with a standard that absolutely has nothing to do with the language (c.f.: XML) ? Isn't it obvious that a file with the extension .php is NOT an XML file ? It seems to me the short tags issue is starting to become a bikeshed

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Derick Rethans
On Sat, 14 Apr 2007, Chris Malton wrote: The last time I used ASP tags: Never. I wish they'd just go forever! People keep trying to use the on my servers, fail and ask me to turn PHP's asp_tags on, I refuse, because I run a shared PHP install, and so they move off elsewhere, rather than

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Guilherme Blanco
This sounds handy. At least it's possible to use inside XML documents and are easy to use as ?=... The topic discussion is about ASP tags. IMHO, they are useless and just contribute to programmers write non-standards code. They should be dropped. On the other hand, I usually don't like short

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Tijnema !
On 4/14/07, Derick Rethans [EMAIL PROTECTED] wrote: On Sat, 14 Apr 2007, Chris Malton wrote: The last time I used ASP tags: Never. I wish they'd just go forever! People keep trying to use the on my servers, fail and ask me to turn PHP's asp_tags on, I refuse, because I run a shared PHP

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Tomas Kuliavas
The last time I used ASP tags: Never. I wish they'd just go forever! People keep trying to use the on my servers, fail and ask me to turn PHP's asp_tags on, I refuse, because I run a shared PHP install, and so they move off elsewhere, rather than change their code. asp_tags can be set in

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Nicolas A. Bérard-Nault
On 4/14/07, Tijnema ! [EMAIL PROTECTED] wrote: I've seen the craziest things around, i've seen hosting providers that had ASP and PHP both parsing every file, not only .php or .asp, but also .html etc. But they also had ASP tags enabled in PHP, and people got trouble executing their ASP script

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Tijnema !
On 4/14/07, Nicolas A. Bérard-Nault [EMAIL PROTECTED] wrote: On 4/14/07, Tijnema ! [EMAIL PROTECTED] wrote: I've seen the craziest things around, i've seen hosting providers that had ASP and PHP both parsing every file, not only .php or .asp, but also .html etc. But they also had ASP tags

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Edin Kadribasic
Hello Marcus, I'm afraid you got it backwards. PHP source does not have to comply with XML, or for that matter any other spec. The result of the PHP code execution, should the desired output be XML, would of course have to be. So what the XML specification say is irrelevant for this

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Robert Cummings
On Sat, 2007-04-14 at 19:51 +0200, Edin Kadribasic wrote: Hello Marcus, I'm afraid you got it backwards. PHP source does not have to comply with XML, or for that matter any other spec. The result of the PHP code execution, should the desired output be XML, would of course have to be.

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Rasmus Lerdorf
Bart de Boer wrote: I feel I can't disagree with my hero. :) But is that really so? The XML spec says: PI ::= '?' PITarget (S (Char* - (Char* '?' Char*)))? '?' Doesn't Char* mean any char? All the parsers seem to accept '' inside PI's without problems too. If you pick your standards

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Marcus Boerger
Hello Edin, if I care about generating PHP using XML tools it suddenly matters a lot. best regards marcus Saturday, April 14, 2007, 7:51:43 PM, you wrote: Hello Marcus, I'm afraid you got it backwards. PHP source does not have to comply with XML, or for that matter any other spec. The

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Nicolas A. Bérard-Nault
I think Rasmus summarized pretty well the essence of the initial decision that was made to include short tags. After getting all these precisions, I'm more inclined to the statut quo side, not that my opinion really matters, but I just feel there is no consensus right now and that this discussion

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Bart de Boer
I think those exceptions would be acceptable for now. I like the concept of an XML document that contains PHP code. Just like you have XML documents that contain Javascript code. I think they should be parsable. Since PHP was made for the web, I think we should try to obey the rules of the

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Asbjørn Sloth Tønnesen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Cummings wrote: On Sat, 2007-04-14 at 19:51 +0200, Edin Kadribasic wrote: Hello Marcus, I'm afraid you got it backwards. PHP source does not have to comply with XML, or for that matter any other spec. The result of the PHP code

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Guilherme Blanco
On 4/14/07, Marcus Boerger [EMAIL PROTECTED] wrote: Hello Guilherme, if you would read the XML specs more carefulyl you'd find out that they forbid stuff like ?= or even ?php=. consult the follwing excerpt: 2.6 Processing Instructions [3] S ::= (#x20 | #x9 | #xD | #xA)+ [4]

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-14 Thread Marcus Boerger
Hello Tijnema, Saturday, April 14, 2007, 11:13:17 AM, you wrote: On 4/14/07, Bart de Boer [EMAIL PROTECTED] wrote: I think ASP tags should go too... Simply because it's not standards compliant and I think it's good if people are forced to make nice standards compliant documents... I'd even

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Stefan Walk
On 12/04/07, Antony Dovgal [EMAIL PROTECTED] wrote: Surely we must to keep a setting just because two people in the world use it. I'm afraid their apps won't run on PHP6 anyway because of numerous major changes (already done and still planned), so one more cleanup won't hurt anyone. This isn't

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Tomas Kuliavas
Surely we must to keep a setting just because two people in the world use it. I'm afraid their apps won't run on PHP6 anyway because of numerous major changes (already done and still planned), so one more cleanup won't hurt anyone. This isn't cleanup. This is dropping a feature without a

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Matt Wilmas
Hi Tomas, - Original Message - From: Tomas Kuliavas Sent: Friday, April 13, 2007 ASP tags do collide with some html markup. td width=10% Boom. That's not a problem. :-) If you're in PHP, that would be a string; if in HTML, % isn't an opening tag: php -d asp_tags=On -r echo 'td

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Tomas Kuliavas
Hi Tomas, - Original Message - From: Tomas Kuliavas Sent: Friday, April 13, 2007 ASP tags do collide with some html markup. td width=10% Boom. That's not a problem. :-) If you're in PHP, that would be a string; if in HTML, % isn't an opening tag: php -d asp_tags=On -r echo

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Stefan Walk
On 13/04/07, Tomas Kuliavas [EMAIL PROTECTED] wrote: Surely we must to keep a setting just because two people in the world use it. I'm afraid their apps won't run on PHP6 anyway because of numerous major changes (already done and still planned), so one more cleanup won't hurt anyone. This

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Ron Korving
Stefan Walk [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] On 13/04/07, Tomas Kuliavas [EMAIL PROTECTED] wrote: Surely we must to keep a setting just because two people in the world use it. I'm afraid their apps won't run on PHP6 anyway because of numerous major changes

RE: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Uwe Schindler
Well, then ? collides also. So the suggestion is to drop everything but script language=php? ;) To be really compliant this should be script type=text/php or some other content-type :) Uwe -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Chad Daelhousen
Ron Korving wrote: (which is also why magic_quotes are being removed altogether right?). No, magic_quotes should be removed because they're dumb. The first thing anyone does when writing portable PHP code is to filter all their input through stripslashes() if magic_quotes is on, and then

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Tijnema !
I don't see why you are all against dropping the ASP tags. I see people using ASP PHP in one script, what would that do? If ASP runs first then there isn't a problem, but if PHP runs first, it would execute the ASP code. Tijnema -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Richard Lynch
On Thu, April 12, 2007 6:00 pm, Robert Deaton wrote: I understand the need to remove short tags. Here's the reason: ?xml. That's it? I mean, we've co-existed with ?xml just fine for some time now, allowing users to choose short_tags or XML, but not both, by setting php.ini up the way they

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Richard Lynch
On Fri, April 13, 2007 9:16 am, Tijnema ! wrote: I don't see why you are all against dropping the ASP tags. I see people using ASP PHP in one script, what would that do? If ASP runs first then there isn't a problem, but if PHP runs first, it would execute the ASP code. There are actually

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Tijnema !
On 4/13/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, April 13, 2007 9:16 am, Tijnema ! wrote: I don't see why you are all against dropping the ASP tags. I see people using ASP PHP in one script, what would that do? If ASP runs first then there isn't a problem, but if PHP runs first, it

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-13 Thread Guilherme Blanco
I really can't see a reason to mantain ASP tags. Ok, short tags is good because of ?=$something?, but it doesn't behavior well with XML documents. So, if your intention is to change short tags to ASP tag in a near future, ok. ASP tags does not mix XML documents. Otherwise, ASP tags is the most

[PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Antony Dovgal
Hello all. If there are no objections, I'm going to drop asp_tags in HEAD tomorrow. You can see the patch here: http://tony2001.phpclub.net/dev/tmp/kill_asp_tags.diff -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Edin Kadribasic
Antony Dovgal wrote: Hello all. If there are no objections, I'm going to drop asp_tags in HEAD tomorrow. You can see the patch here: http://tony2001.phpclub.net/dev/tmp/kill_asp_tags.diff Big objection from here. See my other email. Discussed and agreed against removing tags since that

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Antony Dovgal
On 04/12/2007 11:39 PM, Edin Kadribasic wrote: Antony Dovgal wrote: Hello all. If there are no objections, I'm going to drop asp_tags in HEAD tomorrow. You can see the patch here: http://tony2001.phpclub.net/dev/tmp/kill_asp_tags.diff Big objection from here. See my other email. Please

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Stut
Antony Dovgal wrote: On 04/12/2007 11:39 PM, Edin Kadribasic wrote: Antony Dovgal wrote: Hello all. If there are no objections, I'm going to drop asp_tags in HEAD tomorrow. You can see the patch here: http://tony2001.phpclub.net/dev/tmp/kill_asp_tags.diff Big objection from here. See my

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Ilia Alshanetsky
IMO there is little to gain by dropping support for %, it only risks breaking scripts relying on out. On 12-Apr-07, at 3:32 PM, Antony Dovgal wrote: Hello all. If there are no objections, I'm going to drop asp_tags in HEAD tomorrow. You can see the patch here:

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Edin Kadribasic
Antony Dovgal wrote: On 04/12/2007 11:39 PM, Edin Kadribasic wrote: Antony Dovgal wrote: Hello all. If there are no objections, I'm going to drop asp_tags in HEAD tomorrow. You can see the patch here: http://tony2001.phpclub.net/dev/tmp/kill_asp_tags.diff Big objection from here. See my

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Antony Dovgal
On 04/13/2007 12:01 AM, Stut wrote: I'm sure using an option which is Off by default have been causing a lot of pain for them all these years, so it's time to fix the app and forget. Yeah, one setting in php.ini against any number of tags in any number of scripts. Now that's what I call a

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Steph Fox
Surely we must to keep a setting just because two people in the world use it. I'm afraid their apps won't run on PHP6 anyway because of numerous major changes (already done and still planned), so one more cleanup won't hurt anyone. I'm going to come back from the dead to argue with you Tony,

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Richard Lynch
On Thu, April 12, 2007 3:12 pm, Antony Dovgal wrote: Surely we must to keep a setting just because two people in the world use it. I'm afraid their apps won't run on PHP6 anyway because of numerous major changes (already done and still planned), so one more cleanup won't hurt anyone. What

Re: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Robert Deaton
On 4/12/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, April 12, 2007 3:12 pm, Antony Dovgal wrote: Surely we must to keep a setting just because two people in the world use it. I'm afraid their apps won't run on PHP6 anyway because of numerous major changes (already done and still

RE: [PHP-DEV] dropping asp_tags in HEAD

2007-04-12 Thread Andi Gutmans
-dev Subject: [PHP-DEV] dropping asp_tags in HEAD Hello all. If there are no objections, I'm going to drop asp_tags in HEAD tomorrow. You can see the patch here: http://tony2001.phpclub.net/dev/tmp/kill_asp_tags.diff -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development