Well that's because labeled breaks should (in "our" opinion) be implemented paralel to goto. It is simply not the same. Of course you could break out of loops with a goto statement, but I'd much prefer true labeled breaks, where the label is set for the loop-construct itself, not after the construct.
So labeled breaks have only 1 use case: > * escaping deeply nested loops or if statements 'goto' should solve the others. Ron "Hartmut Holzgraefe" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > well, this is only handling one of the three GOTO use cases > that we seem to agree on as being 'ok' > > * escaping deeply nested loops or if statements > * jumping to a central error handling/cleanup point > * state machine implementations > -- > Hartmut Holzgraefe, Senior Support Engineer . > MySQL AB, www.mysql.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php