<?php $a = 1; switch ($a) { case 1: echo "a é 1"; break; case 2: echo "a é 2"; break; default: echo "a não é 1 nem 2"; } ?>
To embed this project on your website, copy the following code and paste it into your website's HTML: