Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
$x = 0;
if ($x == 1)
if ($x >= 0)
print "true";
else
print "false";
?>
Answer : Option D
Explanation :
The nested for loop is not entered if outer condition is false.
Be The First To Comment