Quiz Question 1 of 10
$a = 1;
if ($a > 1) {
$a--;
$a += 2;
} elseif ($a < 1) {
$a++;
} else {
$a += 5;
}
$a = $a + 2;
echo $a;
What value will be displayed?
Choose the correct answer below:
Quizzes are the best way to test your knowlege. Sign up for Treehouse today and prove yourself. We guarantee 100% satisfaction.