title: PHP: Decoding Html Entities
body: <p>I want to decode html entities using php html_entity_decode() but my html entities seem incompatible with the function. </p>
  
  <pre><code>Example Input String: html_entity_decode('&amp;amp;lt;strong&amp;amp;gt;');
  Outputs: &amp;lt;strong&amp;gt;
  </code></pre>
  
  <p>Removing the <code>'amp;'</code> solves the problem and produces <code>&lt;strong&gt;</code> but my file has <code>'amp;'</code> before every html entity. A mass removal of <code>amp;</code> would probably solve the problem, but also very destructive to the html. Is it possible to convert my entities with this situation of an extra <code>amp;</code> before all entities? </p>