"> What will be the output of the following PHP code ?<?phpfunction

Home » PHP » PHP Functions » Question
  1. What will be the output of the following PHP code ?
    <?php
    function str()
    {
    echo strstr("Interview Mania!", 118);
    }
    str();
    ?>
    1. Interview
    2. Mania
    3. view Mania!
    4. Error
    5. None of these
Correct Option: C

118 is the ASCII value of v.



Your comments will be displayed only after manual approval.