summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/php/switch.php
blob: 7f601c07e7c73e6f802c1b676281159397f91275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php $a=1;
  switch($a):
        case 0;
                echo "bad";
                break;
        case 1;
                echo "good";
                break;
        default;
                echo "bad";
                break;
  endswitch?>