Just a bit of fun but found my old iPhone 3GS the other day and it still powered up using the cable. Certainly a huge difference between the 2 phones over the last 15 years.
WiFi doesn’t work, it’s just greyed out so couldn’t connect it to the web. It’s running iOS 6.1.6