<?php $arr = ["hen" => "egg", "cow" => "milk", "tree" => "fruit"]; $s = "The hen, cow and tree flourished, all three!"; $s=str_replace($arr,$s); echo $s;
You have javascript disabled. You will not be able to edit any code.