4 ms·
PHP is ubiquitous, and now I can be more easily targeted by languages that can compile to PHP. They must have had a use-case in mind when adding it, because it
by wvenable 17y ago
PHP is ubiquitous, and now I can be more easily targeted by languages that can compile to PHP. They must have had a use-case in mind when adding it, because it's a lot of work for nothing otherwise.
- mnemonicsloth 17y agoThe standard Acceptable Goto is used to throw control between levels of a multiply-nested loop. See also: call/cc for managing control flow in a tangle of mutually recursive functions.
- blasdel 17y agoBut it's not "a lot of work" to implement at all! All of the standard 'structured programming' constructs (if, while, for, switch, etc.) are just wrappers around conditional jumps in nearly every imperative language. switch even uses labels for fuck's sake!
- eru 17y agoI'll give you a point if you become more polite.