PHP: implode('\n', $appArray) generates extra '\'
<p>Helo,</p>

<p>I have the following array</p>

<pre><code>$appArray=array('a', 'b', 'c');
</code></pre>

<p>I want to produce output such as <code>'a\nb\nc\n'</code>. The trouble is that when I use</p>

<pre><code>implode('\n', $appArray)
</code></pre>

<p>I get <code>'a\\nb\\nc\\n'</code> ( note the extra backslash).</p>

<p>Any idea how to fix this?</p>
