It all depends on the meaning of $item. Is $item a separator or is it a real thing in and of itself? If it's a real thing, it should be off to the right. The second version makes $item into a separator. This implies that I could add things to the list and it would make sense.
And, frankly, unless I had an array, I would use concatenation. But that's just me.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?