Hacker News new | past | comments | ask | show | jobs | submit login

The label, is that global? The docs say:

> This is not a full unrestricted goto. The target label must be within the same file and context, meaning that you cannot jump out of a function or method, nor can you jump into one.

but that doesn't quite imply that the label names don't need to be unique.

That would be quite typical for PHP, IMHO, with its global scope of top level variables (= not in a function) of old.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: