On 29 November 2005 15:27, Sara Golemon wrote:
> > Just wondering. There's another thread about goto and labels
> > running as well. If they vote for something like:
> >
> > LABEL:while (cond) {
> >
> > }
> >
> > Wouldn't this add another technical diffuculty with using ':' as a
> > namespace seporator?
> >
> Fortunately this is another new feature so there's no old
> code to break.
> It's simply a matter of giving namespace:class precedence
> over label:expr.
>
> Though yes, preventing that duality of meaning is a good thing.
That's one reason I suggested possible alternatives such as:
while LABEL (cond) {
or
while (cond) LABEL {
I've no particular preference for any one variation -- whatever parses
easiest!
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS, LS6 3QS, United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php