php ganti semua teks dari string dengan nilai array associate

$string = 'This is a nice section';
$replaceable = [
  'section' => 'house'
];

foreach ($replaceable  as $key => $value) {
	$string = preg_replace("/(" . $key . ")/", $value, $string);
}

var_dump($string);
Alert Addax