xref: /PHP-7.1/tests/lang/005.phpt (revision 7af945e2)
1--TEST--
2Simple If/ElseIf/Else Test
3--FILE--
4<?php
5$a=1;
6
7if($a==0) {
8	echo "bad";
9} elseif($a==3) {
10	echo "bad";
11} else {
12	echo "good";
13}
14?>
15--EXPECT--
16good
17