-- janroald <[email protected]> wrote (on Thursday, 17 November 2011, 11:44 PM -0800): > weierophinney wrote: > > We typically recommend the second format, or the usage of > > heredocs/nowdocs (latter is PHP 5.3 only, though). However, our CS does > > not dictate either way. > > Many developers find unnecessary concatenation very annoying. I'm > curious why Zend would recommend this practice. I'm not criticizing, > its all just details, I'm just curious if there's any good reason for > it.
Because it makes it more evident in diffs that the content of the line is a string value. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
