I think that in 1997 when break/continue n where implemented it would
have been a nice idea, but at this stage except for being more
elegant than break/continue n it doesn't truly add anything
substantial to PHP (and as you already mentioned it's orthogonal to
the goto discussion). I think having more than 1 way of doing the
same thing, in this case, might just end up confusing people
developing with PHP (i.e. the Perl way :)
Just for the record I am coming at this from an open mind. Dmitry did
spend time on this patch, etc...
I'd recommend to bed it once and for all.
At 09:16 AM 2/18/2006, Steph Fox wrote:
Guys and guyess,
Sara and Dmitry's patch to introduce labelled breaks was discussed
on internals@ ever-so-briefly at the beginning of December, but
there was never any decision made over it.
Given that practically everyone who survived the preceding GOTO
discussion seemed to think it was a good idea at the time, could you
please re-visit it, evaluate it, discuss it (as opposed to talking
about GOTO, which is unrelated) and either OK it or put it to bed
for once and for all?
Relevant summary is at http://www.zend.com/zend/week/week265.php#Heading3
Relevant patch is at http://www.zend.com/zend/week/pat/index.php
And if it's worth anything, +1 from me.
- Steph
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php