Often, you run across a situation in HTML5 and CSS3 programming where you have one expression that can have many possible values. You can always use the structure to manage this situation, but PHP supplies another interesting option.
![image0.jpg](https://cdn.prod.website-files.com/6634a8f8dd9b2a63c9e6be83/670f8a7800b200e84c402b4a_413337.image0.jpeg)
The code for this program uses the switch structure. Take a look at how it’s done:
switch.php Ask the magic 8 ball a yes or no question!
";