xref: /PHP-8.0/tests/lang/005.phpt (revision f8d79582)
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