Created
October 15, 2017 10:52
-
-
Save maks-rafalko/5ee241c877db79b0571917d5e4bdf75a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. in the loop | |
foreach ($someVar as $record) { | |
// ... | |
- break; | |
+ continue; | |
} | |
// 2. in the switch statement | |
switch ($someVar) { | |
case SOME_CONST: | |
// do action | |
- break; | |
+ continue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment