ExamVeda
Login
Home
This question belongs to PHP Functions
Functions
?

What will be the output of the following PHP code ?
<?php
function time($string)
{
    echo strtr("Towe Pa55", "ow5", $string);
}
time("ims");
?>

Answer & Solution
Correct Answer: Option D
The strtr() function translates certain characters in a string.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.