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