Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 713a3fc58c
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (22 sloc) 0.239 kb
--TEST--
Nested If/ElseIf/Else Test
--FILE--
<?php
$a=1;
$b=2;
if($a==0) {
echo "bad";
} elseif($a==3) {
echo "bad";
} else {
if($b==1) {
echo "bad";
} elseif($b==2) {
echo "good";
} else {
echo "bad";
}
}
?>
--EXPECT--
good
Jump to Line
Something went wrong with that request. Please try again.