Your browser does not support JavaScript!

What is the output of the following code snippet? $str = 'asdfghyo off on off'; $replace_pairs = array('a' => 'q', 's' => 'w', 'd' => 'e', 'f' => 'r', 'y' => 'z', 'o' => 'i', 'off' => 'on', 'on' => 'off'); echo strtr($str, $replace_pairs);

  • Qwerghzi on off on Correct
Feedbacks
JustMastodon - 1 year ago
Upvoted this question
Similar IT-6314 questions