Re: Labeled Break (nothing at all whatsoever to do withGOTO)

From: Date: Thu, 01 Dec 2005 16:44:33 +0000
Subject: Re: Labeled Break (nothing at all whatsoever to do withGOTO)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-20962@lists.php.net to get a copy of this message
SG>>* labels aren't scoped to functions. The break container checks prevent SG>>casual jumping, but: SG>> SG>>FOO: do { } while (0); SG>>function bar() { SG>> do { break FOO; } while (0); SG>>} This shouldn't work, of course. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.internals (#20962) next »