Created
March 26, 2012 20:28
-
-
Save iamcal/2209425 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
switch ($a) | |
case 1: | |
#this runs if case 1 is true | |
case 2: | |
case 3: | |
#this runs if case 1, 2 or 3 are true | |
break; | |
case 4: | |
#this runs if case 4 is true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment