How can I use the str_replace function to replace multiple substrings in a string in PHP? Example code: - Biz Tech

How can I use the str_replace function to replace multiple substrings in a string in PHP? Example code:

Listen
$string = "The quick brown fox jumps over the lazy dog";

$replaced_string = str_replace(array("quick", "brown"), "slow", $string);

echo $replaced_string;