mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
17 lines
160 B
PHP
17 lines
160 B
PHP
--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
|