PHP Switch Statement

tutorial and example
tutorial and example

PHP switch statement is used to executeone condition from multiple conditions.

Syntax:

Example:

Output

Your color is green!