The habitats where prickly sow-thistle~(Sonchus asper) grows:

Arable
Brownfield
Coastal floodplain grazing marsh
Coastal vegetated shingle
Crevice scree and spoil
Disturbed nutrient rich
Gateways and tracks
Hard cliff and cliff slope
Open habitat arable weed fertile loam and clay
Open habitat arable weed less fertile acid
Open habitat arable weed light lime rich
Pond ditch and canal
Sand dune