PHP Bug in String Concatenation or am i wrong?
<p>i allways thought, that the Concatenation Dot is to combine multiline-Strings. But today i ran into trouble doing the following:</p>

<pre><code>if (strlen($col-&gt;getValue())&gt;$col-&gt;getLength())
          $this-&gt;errors[]=$name." ist ".
          strlen($col-&gt;getValue())-$col-&gt;getLength().
          " too much chars!";
</code></pre>

<p>i thought this to be one single line after the if-clause, but PHP evaluated line 2 and 3 after the if even when the condition wasn't given here. I needed to do some</p>

<pre><code>if (strlen($col-&gt;getValue())&gt;$col-&gt;getLength()) {
          $this-&gt;errors[]=$name." ist ".
          strlen($col-&gt;getValue())-$col-&gt;getLength().
          " Zeichen zu lang!";
}
</code></pre>

<p>brackets around to get correct result instead of strange Parser errors. Am i understanding the concatenation-Sign usage wrong? I noticed the same when creating multi-line constants in classes ( i.E. prepared SQL Statements).</p>

<p>Does anybody know what i am doing wrong here. Any point i haven't seen?</p>
