245
Apple will update iPhones for at least 5 years in rare public commitment
(arstechnica.com)
This is a most excellent place for technology news and articles.
If they wanted to limit support to 5 years, they could've done so already. Apple never guarantees any support length, so they're just committing to the minimum this new UK regulation requires. This is probably nothing more than a formality.