-
-
Save bielawb/eb093498cbbd2f4660cc7a9af00f4f0b to your computer and use it in GitHub Desktop.
Switch - przypadek najprostszy
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 ($prostaZmienna) { | |
ciągZnaków { | |
'string' | |
} | |
0 { | |
'zero' | |
} | |
default { | |
'coś innego' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment