×
Night mode
Sign up
Login
Night mode
Sign up
Login
Modules
Basics of Programming
Problem Solving
Git
HTML
CSS
Sass
JavaScript
PHP
Laravel
Meetings
Challenges
Projects
Tutorials
Channels
Notes
Resources
Applications.ge
Modules
Basics of Programming
Problem Solving
Git
HTML
CSS
Sass
JavaScript
PHP
Laravel
Meetings
Challenges
Projects
Tutorials
Channels
Notes
Resources
switch operator
$age = 9; switch($age){ case $age < 12: echo 'u are child'; break; case $age > 12 && $age <19: echo 'u are teen'; break; case $age > 20: echo 'u are an adult'; break; }
by
guga muchiashvili
2 years ago
PHP
php note
0
Pro tip: use ```triple backticks around text``` to write in code fences
COMMENT
Delete
×
Are you sure you want to delete
?
×