Home »
MCQs »
PHP MCQs
What will be the output of the following PHP code (19)?
86. What will be the output of the following PHP code?
<?php
$x = 100;
if ($x < 200){
echo "True";
}
else{
echo "False";
}
?>
- True
- False
Answer: A) True
Explanation:
In the above PHP script, the expression is true. Thus, the output will be "True".