public static function replace_vars($string, array $parameters, $strict = false) { if (empty($parameters)) { return $string; } $string_var = new StringVars($strict); return $string_var->replace($string, $parameters); }