PHP: json_encode changing slash to \/
<p>I have a variable which contains a path in json_encode 
 /users/crazy_bash/online/test/</p>

<p>but json_encode converts the path to this:</p>

<pre><code> \/users\/crazy_bash\/online\/test\/
</code></pre>

<p>Why? How can i display a normal path?</p>

<p>the code</p>

<pre><code>$pl2 = json_encode(array(
    'comment' =&gt; $nmp3,
    'file' =&gt; $pmp3
));
echo($pl2);
</code></pre>
