Which values should be assigned to the variables $a, $b and $c in order for the following script to display the string Hello, World! <?php $string= "Hello, World!"; $a =?; $b =?; $c =?; if($a) { if($b &&!$c){ echo "Goodbye Cruel World!"; } else if(!$b &&!$c) { echo "Nothing here"; } } else { if(!$b) { if(!$a && (!$b && $c)) { echo"Hello, World!"; } else { echo"GoodbyeWorld!"; } } else { echo "Not quite."; } } ?>
Correct Answer: False, False, True
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP MCQ Questions