Y
Hacker News
new
|
ask
|
show
|
jobs
by
arcatek
3982 days ago
In other languages (such as PHP), the same thing can sometimes be achieved by using "break N" / "continue N", where N is the number of loop you wish to break/continue.
1 comments
mgkimsal
3982 days ago
Specifically in PHP, though, you can't (anymore) break a variable value.
break $n;
isn't valid since PHP 5.4
link
break $n;
isn't valid since PHP 5.4