?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
function time($string)
{
echo strtr("Towe Pa55", "ow5", $string);
}
time("ims");
?>
<?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.
Join the Discussion
Login to post a comment or share your explanation.
Login