I want to decode html entities using php html_entity_decode() but my html entities seem incompatible with the function.
Example Input String: html_entity_decode('<strong>');
Outputs: <strong>
Removing the 'amp;' solves the problem and produces <strong> but my file has 'amp;' before every html entity. A mass removal of amp; 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 amp; before all entities? 
It's double encoded - Run the string through html_entity_decode() twice.
echo html_entity_decode( html_entity_decode('&lt;strong&gt;'));
This will output:
<strong>
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With