Just wondering, why not: `$params_str = implode(', ', $input);`?