@Nigel *************
when you check in for the flight ✈️ to Thailand, show the airline a ticket departing Thailand within the 59 days you are stamped in on arrival.
That can be a cheap one way ticket to Phnom Penh. AND if you are able to book it on a website which allows you to cancel the ticket within 24 hours of Booking, print out the booking and cancel the ticket.