RE: [PHP-DEV] Patch: Nested comments

2001-11-29 Thread Zeev Suraski
At 03:43 29/11/2001, John Donagher wrote: On Wed, 28 Nov 2001, Robinson, Mike wrote: BC may not be of grave concern to Python developers. Perhaps thats why it hasn't hit the radar screens. You don't get to 6.5 million domains and a million ip addresses chomping big 'BC' pieces off of

Re: [PHP-DEV] Patch: Nested comments

2001-11-28 Thread Vlad Krupin
Hartmut Holzgraefe wrote: Markus Fischer wrote: Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because this horribly breaks BC when/if there's a new 4.x release and people start using it. should be no problem to

Re: [PHP-DEV] Patch: Nested comments

2001-11-28 Thread Andi Gutmans
At 11:31 AM 11/28/2001 -0800, Vlad Krupin wrote: Hartmut Holzgraefe wrote: Markus Fischer wrote: Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because this horribly breaks BC when/if there's a new 4.x release and

Re: [PHP-DEV] Patch: Nested comments

2001-11-28 Thread John Donagher
On Wed, 28 Nov 2001, Andi Gutmans wrote: I agree. We should fix problems but people have to remember that no matter what there are lots and lots of users out there and the less we break things, even between major versions, the easier possible the transition will be for the users.

Re: [PHP-DEV] Patch: Nested comments

2001-11-28 Thread Markus Fischer
Just for the record: I was talking about ZE2 and, er .. correct me if I'm wrong, ZE2 definitely won't be in 4.2.x? - Markus On Wed, Nov 28, 2001 at 11:31:42AM -0800, Vlad Krupin wrote : Hartmut Holzgraefe wrote: Markus Fischer wrote: Although my vote doesn't count much

RE: [PHP-DEV] Patch: Nested comments

2001-11-28 Thread Robinson, Mike
Title: RE: [PHP-DEV] Patch: Nested comments John Donagher writes: Sometimes you need a revolution before you can have evolution. PHP is a good language for a lot of applications, but I'm not sure I would pick it for my next big project anymore. This isn't intended as a slight, just

RE: [PHP-DEV] Patch: Nested comments

2001-11-28 Thread John Donagher
On Wed, 28 Nov 2001, Robinson, Mike wrote: BC may not be of grave concern to Python developers. Perhaps thats why it hasn't hit the radar screens. You don't get to 6.5 million domains and a million ip addresses chomping big 'BC' pieces off of developers butts. Two completely different

[PHP-DEV] Patch: Nested comments

2001-11-27 Thread Anders Johannsen
This patch allows for nested 'C-style' comments, which can be useful especially while debugging. ?php /* comments /* now /* nest */ */ /*/*/*/* */*/*/*/ */ ? Since comments are handled purely lexical, there should be virtually no

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Markus Fischer
Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because this horribly breaks BC when/if there's a new 4.x release and people start using it. But it would be nice to have it in ZE2. my 2c - Markus On Tue, Nov 27,

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread James Moore
Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because this horribly breaks BC when/if there's a new 4.x release and people start using it. But it would be nice to have it in ZE2. my 2c - Markus Its

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Markus Fischer
On Tue, Nov 27, 2001 at 11:23:19AM -, James Moore wrote : Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because this horribly breaks BC when/if there's a new 4.x release and people start using it.

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Martin Jansen
On Tue, 27 Nov 2001 12:15:39 +0100, Markus Fischer wrote: Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because this horribly breaks BC when/if there's a new 4.x release and people start using it. But it would be

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Andrey Hristov
]; [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 1:33 PM Subject: Re: [PHP-DEV] Patch: Nested comments On Tue, 27 Nov 2001 12:15:39 +0100, Markus Fischer wrote: Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Hartmut Holzgraefe
James Moore wrote: ... could we make some other changes to how comments are handeled too? // ? would not switch out of PHP mode, /* ? Html code ?php */ Would comment out the html code too.. I dont know if this is a good or bad idea.. IMHO it is a very bad idea to mask

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Hartmut Holzgraefe
Markus Fischer wrote: Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because this horribly breaks BC when/if there's a new 4.x release and people start using it. should be no problem to introduce it with 4.2 as we

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Anders Johannsen
/* ? Html code ?php */ Would comment out the html code too.. I believe the Html code is ignored. Best regards, Anders Johannsen -- [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Markus Fischer
On Tue, Nov 27, 2001 at 01:01:17PM +0100, Hartmut Holzgraefe wrote : Markus Fischer wrote: Although my vote doesn't count much here :-) I'm for it... ... but it would be a problem for 4.x I guess because this horribly breaks BC when/if there's a new 4.x release and

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Andi Gutmans
I don't think this should be changed and we should stick to the way it is in C. (It is also not BC and even if I thought it's a good idea, which I don't, I don't think it's worth it). Andi At 11:48 AM 11/27/2001 +0100, Anders Johannsen wrote: This patch allows for nested 'C-style' comments,

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Adam Wright
Subject: Re: [PHP-DEV] Patch: Nested comments I don't think this should be changed and we should stick to the way it is in C. (It is also not BC and even if I thought it's a good idea, which I don't, I don't think it's worth it). Andi At 11:48 AM 11/27/2001 +0100, Anders Johannsen wrote

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread John Donagher
Johannsen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 5:21 PM Subject: Re: [PHP-DEV] Patch: Nested comments I don't think this should be changed and we should stick to the way it is in C. (It is also not BC and even if I thought it's a good idea, which I don't

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Jani Taskinen
]; [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 5:21 PM Subject: Re: [PHP-DEV] Patch: Nested comments I don't think this should be changed and we should stick to the way it is in C. (It is also not BC and even if I thought it's a good idea, which I don't, I don't think it's worth

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread James Moore
But in C, you can #if 0 whole blocks out regardless. I'm in favour of a change like this (if not this specific one) in 4.2. if(0) { } - James -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Markus Fischer
On Tue, Nov 27, 2001 at 05:59:44PM -, James Moore wrote : if(0) { } Doesn't prevent the code from between being parsed. Andi, for ZE2 this is also no option? ZE2 definitely breaks BC and neested comments are very useful. In C you have it easy with #if 0 but .. hm?

RE: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Robinson, Mike
Title: RE: [PHP-DEV] Patch: Nested comments Andi Gutmans writes: I don't think this should be changed and we should stick to the way it is in C. (It is also not BC and even if I thought it's a good idea, which I don't, I don't think it's worth it). FWIW, I agree. The BC issue would

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Andi Gutmans
At 07:56 PM 11/27/2001 +0100, Markus Fischer wrote: On Tue, Nov 27, 2001 at 05:59:44PM -, James Moore wrote : if(0) { } Doesn't prevent the code from between being parsed. Andi, for ZE2 this is also no option? ZE2 definitely breaks BC and neested comments are very

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Anders Johannsen
On Tue, 2001-11-27 at 21:16, Andi Gutmans wrote: It's not like I don't want to keep BC as much as possible for ZE2 too. I'm not sure how as much as possible differs from not at all in this context? If code developed for ZE2 cannot run on ZE1, it should not matter *how much* it is

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Stig Venaas
On Tue, Nov 27, 2001 at 10:16:15PM +0200, Andi Gutmans wrote: It's not like I don't want to keep BC as much as possible for ZE2 too. Sure that for important stuff BC is less important but I don't see nested comments being very important to ppl. This is one of the only times it has come up

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Anders Johannsen
On Tue, 2001-11-27 at 21:49, Stig Venaas wrote: On Tue, Nov 27, 2001 at 09:41:46PM +0100, Anders Johannsen wrote: The submitted patch does not break any existing code Perhaps I should have added: ... unless you have a really silly commenting style. Okay, it is a bit weird, but people do

Re: [PHP-DEV] Patch: Nested comments

2001-11-27 Thread Andi Gutmans
At 10:17 PM 11/27/2001 +0100, Anders Johannsen wrote: On Tue, 2001-11-27 at 21:49, Stig Venaas wrote: On Tue, Nov 27, 2001 at 09:41:46PM +0100, Anders Johannsen wrote: The submitted patch does not break any existing code Perhaps I should have added: ... unless you have a really silly