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

Home » PHP » PHP Functions » Question
  1. What will be the output of the following PHP code?
    <?php
    echo strtr("Hilla Interview Mania","ia","eo");
    ?>
    1. Hilla Interview Mania
    2. Error
    3. Nothing
    4. Hello Interveew Moneo
    5. None of these
Correct Option: D

The strtr() function translates certain characters in a string.



Your comments will be displayed only after manual approval.