$value) $tr['$' . $key] = $value; return strtr($string, $tr); } } ?>