IPhone question - Safari updates

Just a quick question for the iPhone guys:
Do you still get updates for Safari even after the iOS updates have ceased?

Depends on the severity of the issue that they are trying to fix really

My interest is more in testing web apps to see if they function properly on an iPhone. I have the opportunity to pick up an iPhone 7 for just a few bob, it doesn’t get iOS updates anymore but that doesn’t concern me so much for my intended purpose, as long as Safari is updated.

I haven’t seen a Safari update on my old iOS devices (can’t update iOS there).

From Update to the latest version of Safari - Apple Support

The most up-to-date version of Safari is included with the latest version of iOS or iPadOS.