Answer:
Irony is when a speaker or writer says or does something that is the opposite of what is expected or intended, often for humorous or sarcastic effect. It can also refer to a situation where the outcome is the opposite of what was expected or intended. So, the correct option is: "when a speaker says the opposite of what they mean."