Like case-sensitivity.
-Andrei
P.S. Joking, I am _just_ JOKING! Have a sense of humor, people.
On Mar 12, 2006, at 8:50 AM, Pierre wrote:
On 3/12/06, Steph Fox [EMAIL PROTECTED] wrote:
Lukas, that's extremely odd. Check history! (when most of the
core team
agreed on jump originally, for
; internals@lists.php.net
Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL (conclusion)
Hello Wez,
just to continue on this nice argument: Jump reminds me of
the worst addition to c ever: longjump.
marcus
Friday, March 10, 2006, 2:36:56 PM, you wrote:
My vote is +1 for goto
Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL (conclusion)
Hello Wez,
just to continue on this nice argument: Jump reminds me of
the worst addition to c ever: longjump.
marcus
Friday, March 10, 2006, 2:36:56 PM, you wrote:
My vote is +1 for goto, just because that largely
Dmitry, maybe I have overlooked a single post, but I have yet to see a
single post favoring jump over goto. The common decision is here and
it is goto.
Lukas, that's extremely odd. Check history! (when most of the core team
agreed on jump originally, for a start). I've seen five very vocal
On 3/12/06, Steph Fox [EMAIL PROTECTED] wrote:
Lukas, that's extremely odd. Check history! (when most of the core team
agreed on jump originally, for a start). I've seen five very vocal pro
'goto's here and NO good reasons given for it. There are several good
reasons against.
The result
:22 AM
To: Wez Furlong
Cc: Dmitry Stogov; internals@lists.php.net
Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL (conclusion)
Hello Wez,
just to continue on this nice argument: Jump reminds me of
the worst addition to c ever: longjump.
marcus
Friday, March 10, 2006, 2:36:56 PM, you
Lukas, that's extremely odd. Check history! (when most of the core team
agreed on jump originally, for a start). I've seen five very vocal pro
'goto's here and NO good reasons given for it. There are several good
reasons against.
The result of the vote in this thread is clear. No matter what
Let's just call it goto and be done with it. It seems that for the
people who will use this feature goto name will cause the least amount
of WTF.
Ilia
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello bertrand,
just to clearify this, we don't do voting here becuase it is impossible to
bring a majority of php users here or decide who is important and so on.
Thus we are only doing surveys here even if called voting. And i assume that
all people on this list have better things to do than
Seems the majority prefers goto.
I'll change jump to goto tomorrow in case of no serious objections.
Thanks. Dmitry.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
My vote is +1 for goto, just because that largely describes what it
does and how it is used. I don't mind if it winds up being called
jump, I just think it will be easier for people to find it when they
need it if it is called 'goto'. 'goto' also comes with all the usual
anti-goto propaganda
+1 for goto
-1 for jump
Wez Furlong wrote:
My vote is +1 for goto, just because that largely describes what it
does and how it is used. I don't mind if it winds up being called
jump, I just think it will be easier for people to find it when they
need it if it is called 'goto'. 'goto' also
Hello Wez,
just to continue on this nice argument: Jump reminds me of the worst
addition to c ever: longjump.
marcus
Friday, March 10, 2006, 2:36:56 PM, you wrote:
My vote is +1 for goto, just because that largely describes what it
does and how it is used. I don't mind if it winds up
Hi,
The solution (2) - goto only is the winner.
So in case of no serious objections, I'll commit the goto.diff patch in 24
hour.
The last question:
What do you thin about Andi's solution about using jump instead of goto?
It may make sense, because it is not a full analog of C's goto statement.
On Thu, 9 Mar 2006, Dmitry Stogov wrote:
Hi,
The solution (2) - goto only is the winner.
So in case of no serious objections, I'll commit the goto.diff patch in 24
hour.
The last question:
What do you thin about Andi's solution about using jump instead of goto?
I don't really mind...
I am indifferent - goto or jump, but may be others don't.
Thanks. Dmitry.
-Original Message-
From: Derick Rethans [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 11:09 AM
To: Dmitry Stogov
Cc: internals@lists.php.net
Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL
Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL (conclusion)
On Thu, 9 Mar 2006, Dmitry Stogov wrote:
Hi,
The solution (2) - goto only is the winner.
So in case of no serious objections, I'll commit the
goto.diff patch
in 24 hour.
The last question:
What do you thin about Andi's solution
.
-Original Message-
From: Derick Rethans [mailto:[EMAIL PROTECTED] Sent: Thursday, March
09, 2006 11:09 AM
To: Dmitry Stogov
Cc: internals@lists.php.net
Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL (conclusion)
On Thu, 9 Mar 2006, Dmitry Stogov wrote:
Hi,
The solution (2
At 1141902889, Andrey Hristov wrote:
sorry for sending second email. Another choice could be `leave`, which
seems better than `escape` (clashes with escaping sequences).
I think `leave` has too many connotations with `break` and similar
commands, and could be misleading.
--
Jon Dowland
Jon Dowland wrote:
At 1141902889, Andrey Hristov wrote:
sorry for sending second email. Another choice could be `leave`, which
seems better than `escape` (clashes with escaping sequences).
I think `leave` has too many connotations with `break` and similar
commands, and could be misleading.
At 10:03 09/03/2006, Dmitry Stogov wrote:
The last question:
What do you thin about Andi's solution about using jump instead of
goto?
Great! Yet another keyword. PHP keeps surprising the world...
It may make sense, because it is not a full analog of C's goto
statement. It
is a limited goto.
On 3/9/06, Steph Fox [EMAIL PROTECTED] wrote:
Please, Xuefer! Your vote was already recorded, shhh!
i wasn't to vote more than once. it's same vote but with a bit
different syntax changed. oh well, the result is out, this is only my
explaination.
On 7.3.2006 15:44 Uhr, Steph Fox wrote:
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4) nothing
Sorry for the noise. I was told to vote.
Meaning, I don't care, never had a use for GOTO, but if the caring
majority thinks, it's needed, why not :)
chregu
On 07 March 2006 09:28, Dmitry Stogov wrote:
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4) nothing
1) +0.25
2) -1e38
3) +1e38
4) -infinity
Or, in other words, I want labelled break, and I don't want to have to emulate
it with
If the Java-like syntax is seen as confusing, what about, as in some other
languages, interpolating the label into the for/foreach/while statement:
for () label {...} or for label (...) {...}
a. label: for () { break label; } AND label: { for () {
break label; } } (see
Please, Xuefer! Your vote was already recorded, shhh!
- Original Message -
From: Xuefer [EMAIL PROTECTED]
To: Ford, Mike [EMAIL PROTECTED]
Cc: Dmitry Stogov [EMAIL PROTECTED]; internals@lists.php.net
Sent: Thursday, March 09, 2006 5:19 AM
Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4) nothing
My vote: (1) +0.5, (4) +0.5
Thanks. Dmitry.
On Tue, 7 Mar 2006, Dmitry Stogov wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4) nothing
Dmitry Stogov wrote:
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4) nothing
1) +1
Edin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
DS1) goto and break label
DS2) goto only (like C)
DS3) break label only (like Java)
DS4) nothing
1) +0.5 2) -1 3) +1
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115
--
PHP Internals - PHP Runtime Development Mailing List
To
On Tue, 7 Mar 2006, Sascha Schumann wrote:
On Tue, 7 Mar 2006, Dmitry Stogov wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only
On 07.03.2006 11:28, Dmitry Stogov wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4) nothing
2) +0.5
On 3/7/06, Dmitry Stogov [EMAIL PROTECTED] wrote:
1) goto and break label
+1
I'm happy with goto, but don't mind getting labelled breaks for
free; labels are better than numbers.
2) goto only (like C)
+1
3) break label only (like Java)
+0.5, but only if we don't have goto
--Wez.
--
PHP
On 3/7/06, Dmitry Stogov [EMAIL PROTECTED] wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4)
Sascha Schumann wrote:
5) goto, fowarding-jumping only.
which would more or less make it useless for state machine stuff, right?
--
Hartmut Holzgraefe, Senior Support Engineer.
MySQL AB, www.mysql.com
Join me at MySQL's 2006 Users Conference, April 24-27!
Dmitry Stogov wrote:
1) goto and break label
+1
2) goto only (like C)
+1
3) break label only (like Java)
-1
Ilia
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4) nothing
Thanks for giving this a final chance, Dmitry.
1) +0.5
3) +1
- Steph
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I'm with Rasmus on the break label stuff. Although it's not confusing
to me, I got convinced quickly that it'll be confusing to the wider
audience. So big -1 from me for (2) (1).
I think we should either stick with nothing or go to a full goto
(without jumping into scopes of course). Only
Andi Gutmans wrote:
I'm with Rasmus on the break label stuff. Although it's not confusing to
me, I got convinced quickly that it'll be confusing to the wider
audience. So big -1 from me for (2) (1).
From your comment bellow I figure you're for option 2, right?
Edin
I think we should
Yes 2. Sorrry
At 07:28 AM 3/7/2006, Edin Kadribasic wrote:
Andi Gutmans wrote:
I'm with Rasmus on the break label stuff. Although it's not confusing to
me, I got convinced quickly that it'll be confusing to the wider
audience. So big -1 from me for (2) (1).
From your comment bellow I
Dmitry Stogov wrote:
1) goto and break label
+0.5
2) goto only (like C)
+1
3) break label only (like Java)
-1
Rob
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2006-03-07 at 12:28 +0300, Dmitry Stogov wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
Hi,
On Tuesday 07 March 2006 10:28, Dmitry Stogov wrote:
1) goto and break label
+1
2) goto only (like C)
+1
3) break label only (like Java)
-1
4) nothing
-1
Regards,
Magnus Currently 'a bit' inactive Määttä
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
(2) +1e10
On Mar 7, 2006, at 1:28 AM, Dmitry Stogov wrote:
Hi,
Because of some confused people I reverted break label patch and
post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
On Tue, 2006-03-07 at 04:28, Dmitry Stogov wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4)
At 09:50 AM 3/7/2006, Robert Cummings wrote:
On Tue, 2006-03-07 at 04:28, Dmitry Stogov wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
2) goto only
On Tue, 2006-03-07 at 12:50, Andi Gutmans wrote:
At 09:50 AM 3/7/2006, Robert Cummings wrote:
On Tue, 2006-03-07 at 04:28, Dmitry Stogov wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
if($choice == 1) {
goto bad;
} else if ($choice == 2) {
goto good;
} else if ($choice == 3) {
goto bad;
} else if ($choice == 4) {
goto good;
}
good:
$vote++;
bad:
return;
On Tue, 2006-03-07 at 12:50 -0500, Robert Cummings wrote:
On Tue,
On Tue, 2006-03-07 at 12:58, John Coggeshall wrote:
if($choice == 1) {
goto bad;
} else if ($choice == 2) {
goto good;
} else if ($choice == 3) {
goto bad;
} else if ($choice == 4) {
goto good;
}
good:
$vote++;
bad:
return;
I don't remember, but
07, 2006 7:58 PM
Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL
if($choice == 1) {
goto bad;
} else if ($choice == 2) {
goto good;
} else if ($choice == 3) {
goto bad;
} else if ($choice == 4) {
goto good;
}
good:
$vote++;
bad:
return;
On Tue, 2006-03-07 at 12:50 -0500, Robert Cummings wrote
Hi,
On Tuesday 07 March 2006 19:14, Robert Cummings wrote:
I don't remember, but I think Sarah Golemon allowed for it in one of her
patches way back:
?php
$map = array
(
1 = 'bad',
2 = 'good',
3 = 'bad',
4 = 'acceptable',
);
goto $map[$choice];
NOOO - If we add goto
I don't remember, but I think Sarah Golemon allowed for it in one of her
patches way back:
goto $map[$choice];
Yes, and targeting dynamic labels was one of the first big sacrifices on the
altar of compromise. Current implementation options use static,
compile-time resolved labels only.
On Tue, 7 Mar 2006, Steph Fox wrote:
I took that as (2) +1, (4) +1.
Current raw totals amongst those who contribute to the PHP core: (1) +5.5, (2)
+9.5, (3) +0, (4) 2
Still to vote: Derick, Marcus, George, Sascha, Hartmut, Chregu, Johannes,
Sebastian, Stefan, apologies if I missed any
Hello Dmitry,
Tuesday, March 7, 2006, 10:28:27 AM, you wrote:
Hi,
Because of some confused people I reverted break label patch and post it
for discussion once again together with GOTO patch.
Please reviw and vote.
1) goto and break label
-1e307
2) goto only (like C)
-1e307
3) break
On Tue, 2006-03-07 at 13:52, Sara Golemon wrote:
I don't remember, but I think Sarah Golemon allowed for it in one of her
patches way back:
goto $map[$choice];
Yes, and targeting dynamic labels was one of the first big sacrifices on the
altar of compromise. Current implementation
Steph Fox wrote:
Still to vote: Derick, Marcus, George, Sascha, Hartmut, Chregu,
Johannes, Sebastian, Stefan, apologies if I missed any names here.
1) -1
2) +1
3) +.5
4) -0
--
Hartmut Holzgraefe, Senior Support Engineer.
MySQL AB, www.mysql.com
Join me at MySQL's
Hi,
On Tuesday 07 March 2006 19:18, Steph Fox wrote:
Current raw totals amongst those who contribute to the PHP core: (1) +5.5,
(2) +9.5, (3) +0, (4) 2
Still to vote: Derick, Marcus, George, Sascha, Hartmut, Chregu, Johannes,
Sebastian, Stefan, apologies if I missed any names here.
Alright,
On 7.3.2006 15:44 Uhr, Steph Fox wrote:
1) goto and break label
2) goto only (like C)
3) break label only (like Java)
4) nothing
In Sean's words:
1) 0
2) 0
3) 0
4) 0
Sorry for the noise. I was told to vote.
Meaning, I don't care, never had a use for GOTO, but if the caring
Christian Stocker schrieb:
1) 0
2) 0
3) 0
4) 0
Sorry for the noise. I was told to vote.
Meaning, I don't care, never had a use for GOTO, but if the caring
majority thinks, it's needed, why not :)
Same here.
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
59 matches
Mail list logo