A mobile phone has exploded inside a parked car, causing significant damage to the vehicle.