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";
}
?>
  1. True
  2. False

Answer: A) True

Explanation:

In the above PHP script, the expression is true. Thus, the output will be "True".

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.