Schedule 80 PVC, although twice the thickness of schedule 40, will initially be stronger. But again, unless it’s dipped or coated with something, the sunlight will degrade the oils in the plastic and cause it to become brittle over time. There’s a reason why it’s for direct burial only. I’ve even seen specialized plastic pipes that are rated for exterior applications above ground become weathered and brittle over time. Some people have luck with it and some don’t. YMMV.
I've always heard that here on RR in the past. However I just discovered this:
How Long Will PVC Pipe Last in the Sun
How Long Will PVC Pipe Last in the Sun | Home Inspection Insider
PVC pipe is lightweight and very durable, but I was curious about how it holds up in the sun as I heard PEX would fail…
homeinspectioninsider.com
Maybe it's been improved?