PHP htmlspecialchars_decode() Function
The htmlspecialchars_decode() function converts some predefined HTML entities to characters. The htmlspecialchars_decode() function is the opposite of htmlspecialchars(). You may also like PHP html_entity_decode() Function and How to Encode and Decode URL Using PHP. Example The HTML output of the code above will be (View Source): Output