Examveda
Examveda

What will be the output of the following PHP code?
<?php
  echo strtr("Hilla Warld","ia","eo");
?>

A. Hilla Warld

B. Hello World

C. ia

D. eo

Answer: Option B

Solution(By Examveda Team)

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

This Question Belongs to PHP >> Functions

Join The Discussion

Related Questions on Functions