| 
  
   Menu 
  × 
      
    × 
      Correct! 
    Exercise:Replace the word "World" with the word "Dolly". 
$oldtxt = "Hello World!";
$newtxt = @(11)(@(7), @(7), @(7))
 
$oldtxt = "Hello World!";
$newtxt = str_replace("World", "Dolly", $oldtxt)
 
$oldtxt = "Hello World!";
$newtxt = str_replace('World', 'Dolly', $oldtxt)
 
$oldtxt = "Hello World!";
$newtxt = str_replace("World", 'Dolly', $oldtxt)
 
$oldtxt = "Hello World!";
$newtxt = str_replace('World', "Dolly", $oldtxt)
 
    Not CorrectClick here to try again. Correct!Next ❯ | 
This will reset the score of ALL 47 exercises.
Are you sure you want to continue?