Re: [PHP-DEV] Labeled Breaks (not the G-word)

2005-11-28 Thread Marcus Boerger
Hello Sara, sorry to jump in, i didn'T read the thread but i have more ideas. From my point of view view should have the whole thing support any target. So idefinitively want to call it goto and if it cannot be goto i want to favor log_jump or long_goto or hey what about 'bad'. Also can't we do

[PHP-DEV] Labeled Breaks (not the G-word)

2005-11-23 Thread Sara Golemon
http://libssh2.org/patches/labeled_break.diff A few notes about the implementation: * The parser is modified slightly to catch T_BREAK T_LNUMBER ';' and T_BREAK T_STRING ';' specifically. This is in-line with the decision to remove the ability to jump to variable targets. e.g. `break $foo;` wil