1// Provides: You should eat pizza, beer, and ice cream every day
2$phrase = "You should eat fruits, vegetables, and fiber every day.";
3$healthy = ["fruits", "vegetables", "fiber"];
4$yummy = ["pizza", "beer", "ice cream"];
5
6$newPhrase = str_replace($healthy, $yummy, $phrase);