html_entity_decode < PHP

The html_entity_decode function converts HTML entities to their corresponding characters.

    
    $string = "I'll "walk" the <b>dog</b> now";

    $stringDecoded = html_entity_decode($string);

    echo $stringDecoded;
    // I'll "walk" the dog now