That snippet exhibits an infinite loop, or two. The goto is always taken since $i++ < 100_000 will always be true...
Objects may have side effects when they are DESTROYed, so this must happen at some well-defined moment (scope exit). Gotos cannot create scopes as there is no way to determine the flow of the program.
In reply to Re^3: "goto" memory leak
by Anonymous Monk
in thread "goto" memory leak
by jethro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |