Flight Phuket International Airport departs from Phuket Phuket International Airport at 23:00 and arrives at Shanghai Pudong International Airport at 05:20.
The flighttime is about 5h 20m. The distance travelled ("as the bird flies"): 2707 Km. So the average speed is roughly 508 Km.
There is an 1 hour time difference between Phuket and Shanghai