[dev] line continuation coding standard?

Chuck Hagenbuch chuck at horde.org
Thu Mar 8 03:51:37 UTC 2007


Quoting Matt Selsky <selsky at columbia.edu>:

> When a concatenated string spans multiple lines, where is the '.'
> supposed to go?
>
> $foo = 'bar' .
>      'baz';
>
> or
>
> $foo = 'bar'
>      . 'baz';
>
> I didn't see this in the CODING_STANDARDS doc...

I've been using the latter recently. I don't yet have a strong opinion  
on it and we don't have a rule for it.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list