Source Code:
(back to article)
<?php $option = 1; switch ($option) { case 1: case 2: echo "The option is either 1 or 2."; break; }
Result:
Report an issue