why does str_replace replaces my character with a semicolon?
<p>I'm new to PHP (so no bullying please) and I'm trying to trim a variable to remove quotation marks. For some reason, my quotation marks are replaced by semicolons, anybody knows why ?</p>

<p>Where <code>$movieArray["title"] = '"Veronica Mars"';</code></p>

<pre><code>str_replace('&amp;#x22', '', $movieArray["title"]);
</code></pre>

<p>output: <code>;Veronica Mars;</code></p>

<p>Also, the reason I have this <code>&amp;#x22</code> instead of this <code>"</code> is that the trim doesn't work with <code>"</code>.
Thanks</p>
