PHP - Conditional Statements
Consider this PHP code:
What will be the output?
$x = 5;
if ($x > 0) {
if ($x % 2 == 0) {
echo "Even";
} else {
echo "Odd";
}
} else {
echo "Non-positive";
}What will be the output?
