4 ms·
throw, raise, catch, switch... even if and else. They're all wrappers around goto with various amounts of safety in their handling. Some implementations are m
by shagie 3y ago
throw, raise, catch, switch... even if and else.
They're all wrappers around goto with various amounts of safety in their handling.
Some implementations are more safe than others ( https://www.php.net/manual/en/control-structures.break.php https://www.php.net/manual/en/control-structures.break.php still gives me the heebie jeebies thought it was worse in older versions where the number could be a variable rather than an integer literal https://web.archive.org/web/20140312123653/https://www.php.net/manual/en/control-structures.break.php https://web.archive.org/web/20140312123653/https://www.php.n... )