htmlspecialcharsのデコード版はhtmlspecialchars_decode
htmlentitiesのデコード版はhtml_entity_decode
命名方法おかしいだろ