Is the IPhone 5 water resistant?

I was pushed in a swimming pool for 5 secs the phone was submerged. I don't understand why it functions 100%. Are Apple not telling us something.

It means you're lucky and the water haven't gotten to its innards.

Shine a flashlight into the headphone port. Does the sticker inside show red X's? No warranty for you!