You are lucky. Cellphone baking in the car ont he sun can lead to a burning car.
My dad did this, he forgot his phone. It was in car for several hours on hot day. After that cell phone was not working properly. Display was messed up, when you click numbers to call it would give wrong numbers. And all the time it kept asking for pin to be entered.
I think display just died and replacement of display is too expensive.
Now if your wifi died, i think that is not so expensive, but i may be wrong.