Maybe simple `foreach` with string concat instead of two loops? (`implode` does one, same as `array_map()`)