summaryrefslogtreecommitdiff
path: root/tests/lang/003.phpt
blob: a580fc60cd5c0cc10c9d499481e85a62123244b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Simple Switch Test
--FILE--
<?php
$a=1;
switch($a) {
	case 0:
		echo "bad";
		break;
	case 1:
		echo "good";
		break;
	default:
		echo "bad";
		break;
}
?>
--EXPECT--
good