I'm not aware of any standard, as it would be tough to say. For those of us on larger monitors, we can view more horizontal code than others on smaller monitors. I generally try to build long strings sequentially via .= (PHP) when it's necessary, and as your code demonstrated I split lengthy arrays arbitrarily onto new lines depending on how many characters exist in that particular line.