-
What will be the output of the following PHP code ?
<?php
$hello = "Hello";
$interveiw = "Interveiw";
$mania = "Mania";
echo "$interveiw";$hello; $mania;
?>
-
- Hello
- Interveiw
- Mania
- All of above
- None of these
Correct Option: B
Since there is a semi-colon in between $hello and $interveiw , the line ends at $hello. However $interveiw would have printed if a echo was present before “$interveiw ”.