Q. What will be the output of the following PHP code ?
Code:<?php
$str = "s";
if ($str)
print "Executed....";
else
print "Not Executed...";
?>
β
Correct Answer: (D)
Executed....
<?php
$str = "s";
if ($str)
print "Executed....";
else
print "Not Executed...";
?>
You must be Logged in to update hint/solution