For example in the following statement,
$class = ( is_array($tagClasses) ? 'class="'.implode(" ",$tagClasses).'"' : '' );
is the outermost parentheses only for readability or does it really have any other purpose?
I think it is for readability and code-aesthetics only, unless you have other things happening in the same statement, in which you have to separate out this part of the statement and dictate what is executed first.
But I have never seen a statement like that without an enclosing parenthesis, and have been thinking about this for quite some time. Therefore this question.