title: str_replace with amp; doesn't work
body: <p>I'm using php7 for my project, trying to replace a string "X &amp; Y" with strreplace as follows</p>
  
  <pre><code>$out=str_replace("X amp; Y","other string",$out);
  </code></pre>
  
  <p>But the string is never replaced, tried also using &amp; symbol itself but it doesn't work too.</p>