Do you have to include a false value in a ternary operator PHP?
<p>I need to add append data to a string if a certain variable is true, if not, I don't need to append anything. Currently I'm doing:</p>

<pre><code>$string = (condition()) ? 'something'.$string.'something' : $string;
</code></pre>

<p>Is there a way to skip adding the false option in a ternary operator? It seems wasteful to say $string = $string if the condition is false.</p>
