Does an iPhone save your failed passcode attempts over long periods of time?

Does an iPhone save your failed passcode attempts over long periods of time?

Added (1). About 3 weeks ago I found my old iPhone and I used a different passcode that I can't remember. I tried as many different passcodes up until it locked for 15 minutes, then I gave up and put it back away until now. If I try again will it lock for 30 minutes or do the attempts reset?

No, I don't think so.