Name

htmlspecialchars_decode

Synopsis

string htmlspecialchars_decode(string string[, int style])

Converts HTML entities in string to characters. A subset of all HTML entities covering the most common characters is used to perform the translation. If supplied, style determines the manner in which quotes are translated. See htmlentities() for the possible values for style. The characters translated are those found in htmlspecialchars().

Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.