Rename, move, resort the files of project
[sandbox.git] / sb1 / logical2.php
blob01b7cb66603df9fabc308b2a34fda8cb74b00ab2
1 <html>
2 <head>
3 <title>Logical Expressions: Switch</title>
4 </head>
5 <body>
6 <?php $a = 2; ?>
7 <?php
8 switch ($a) {
9 case 0:
10 echo "a equals 0";
11 break;
12 case 1:
13 echo "a equals 1";
14 break;
15 case 2:
16 echo "a equals 2";
17 break;
18 default:
19 echo "a is not 0, 1, or 2";
20 break;
23 </body>
24 </html>