summaryrefslogtreecommitdiff
path: root/tests/lang/005.phpt
blob: 404a7cbbf6d055ce29edc384ef25e927368810eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Simple If/ElseIf/Else Test
--FILE--
<?php
$a=1; 

if($a==0) {
	echo "bad";
} elseif($a==3) {
	echo "bad";
} else {
	echo "good";
}
?>	
--EXPECT--
good