Ver originalreturn htmlentities(str_replace(array('\"','\\\''),array('"',"'"),$aecho), ENT_QUOTES, "UTF-8", true);