In the prohibition of a Kohen marrying a Zonah (cf. Vayikra 21:7), what defines a woman as a Zonah? Is it just having had relations with a non-Jew, or does it also include having relations out of wedlock?
The Rambam (Issurei Biah 18:1) defines a Zonah thus:
The Shulchan Aruch rules this way nearly word for word in Even HaEzer 6:8.
This legalistic wording is meant to clarify the following cases: