Use `implode()` instead of `foreach (…) echo`