"> What will be the output of the following PHP code ?<?php$str

Home » PHP » PHP Operators » Question
  1. What will be the output of the following PHP code ?
    <?php
    $str = 'view';
    print "Inter".$str."Mania";
    ?>
    1. InterMania
    2. InterviewMania
    3. Error
    4. ManiaInter
    5. None of these
Correct Option: B

dereferences the variable/string within.



Your comments will be displayed only after manual approval.